Package microsoft.visualbasic.devices
Class Network
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.devices.Network
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Network extends NetObject
The base .NET class managing Microsoft.VisualBasic.Devices.Network, Microsoft.VisualBasic.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.Devices.Network
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: Microsoft.VisualBasic.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.VisualBasic.Formsstatic java.lang.StringclassNameQualified class name: Microsoft.VisualBasic.Devices.Networkstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)static Networkcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoNetwork, a cast assert is made to check if types are compatible.voidDownloadFile(java.lang.String address, java.lang.String destinationFileName)voidDownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password)voidDownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite)voidDownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel)voidDownloadFile(Uri address, java.lang.String destinationFileName)voidDownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password)voidDownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite)voidDownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel)voidDownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite)voidDownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel)booleangetIsAvailable()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypebooleanPing(java.lang.String hostNameOrAddress)booleanPing(java.lang.String hostNameOrAddress, int timeout)booleanPing(Uri address)booleanPing(Uri address, int timeout)voidremoveNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)voidsetJCOInstance(JCObject instance)voidUploadFile(java.lang.String sourceFileName, java.lang.String address)voidUploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password)voidUploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout)voidUploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, UICancelOption onUserCancel)voidUploadFile(java.lang.String sourceFileName, Uri address)voidUploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password)voidUploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout)voidUploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, UICancelOption onUserCancel)voidUploadFile(java.lang.String sourceFileName, Uri address, ICredentials networkCredentials, boolean showUI, int connectionTimeout)voidUploadFile(java.lang.String sourceFileName, Uri address, ICredentials networkCredentials, boolean showUI, int connectionTimeout, UICancelOption onUserCancel)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.Devices.Network- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Network
public Network(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Network
public Network() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Network cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoNetwork, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Networkinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Ping
public boolean Ping(java.lang.String hostNameOrAddress, int timeout) throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, NetworkInformationException, ArgumentException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, ObjectDisposedException, SocketException, Win32Exception, TaskCanceledException, AggregateException, PingException, SynchronizationLockException- Throws:
java.lang.ThrowableOutOfMemoryExceptionPlatformNotSupportedExceptionNetworkInformationExceptionArgumentExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionSocketExceptionWin32ExceptionTaskCanceledExceptionAggregateExceptionPingExceptionSynchronizationLockException
-
Ping
public boolean Ping(java.lang.String hostNameOrAddress) throws java.lang.Throwable, OutOfMemoryException, NetworkInformationException, ArgumentNullException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException, SocketException, Win32Exception, TaskCanceledException, AggregateException, PingException- Throws:
java.lang.ThrowableOutOfMemoryExceptionNetworkInformationExceptionArgumentNullExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatExceptionObjectDisposedExceptionSocketExceptionWin32ExceptionTaskCanceledExceptionAggregateExceptionPingException
-
Ping
public boolean Ping(Uri address, int timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnreachableException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, UriFormatException, NetworkInformationException, RankException, ArrayTypeMismatchException, FormatException, SocketException, Win32Exception, TaskCanceledException, AggregateException, PingException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnreachableExceptionIndexOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionUriFormatExceptionNetworkInformationExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionSocketExceptionWin32ExceptionTaskCanceledExceptionAggregateExceptionPingException
-
Ping
public boolean Ping(Uri address) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnreachableException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, UriFormatException, NetworkInformationException, RankException, ArrayTypeMismatchException, FormatException, SocketException, Win32Exception, TaskCanceledException, AggregateException, PingException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnreachableExceptionIndexOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionUriFormatExceptionNetworkInformationExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionSocketExceptionWin32ExceptionTaskCanceledExceptionAggregateExceptionPingException
-
DownloadFile
public void DownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, FormatException, CultureNotFoundException, UnreachableException, UriFormatException, IOException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, ObjectDisposedException, InvalidEnumArgumentException, InvalidAsynchronousStateException, OutOfMemoryException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionArgumentNullExceptionFormatExceptionCultureNotFoundExceptionUnreachableExceptionUriFormatExceptionIOExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionInvalidAsynchronousStateExceptionOutOfMemoryExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, CultureNotFoundException, UnreachableException, OutOfMemoryException, UriFormatException, IOException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, ObjectDisposedException, InvalidEnumArgumentException, InvalidAsynchronousStateException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionCultureNotFoundExceptionUnreachableExceptionOutOfMemoryExceptionUriFormatExceptionIOExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionInvalidAsynchronousStateExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, UnreachableException, UriFormatException, IOException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionUnreachableExceptionUriFormatExceptionIOExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(java.lang.String address, java.lang.String destinationFileName) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, UnreachableException, UriFormatException, IOException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionUnreachableExceptionUriFormatExceptionIOExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, IOException, Win32Exception, MulticastNotSupportedException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, FormatException, InvalidEnumArgumentException, SynchronizationLockException, UnreachableException, UriFormatException, WebException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionIOExceptionWin32ExceptionMulticastNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionFormatExceptionInvalidEnumArgumentExceptionSynchronizationLockExceptionUnreachableExceptionUriFormatExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException, IOException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, InvalidEnumArgumentException, NullReferenceException, UriFormatException, InvalidAsynchronousStateException, WebException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionIOExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionInvalidEnumArgumentExceptionNullReferenceExceptionUriFormatExceptionInvalidAsynchronousStateExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException, IOException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, InvalidEnumArgumentException, NullReferenceException, UriFormatException, InvalidAsynchronousStateException, WebException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionIOExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionInvalidEnumArgumentExceptionNullReferenceExceptionUriFormatExceptionInvalidAsynchronousStateExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, FormatException, IOException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, InvalidEnumArgumentException, UriFormatException, InvalidAsynchronousStateException, WebException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionIOExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionInvalidEnumArgumentExceptionUriFormatExceptionInvalidAsynchronousStateExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, FormatException, IOException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, InvalidEnumArgumentException, WebException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionIOExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionArgumentOutOfRangeExceptionWin32ExceptionNotSupportedExceptionInvalidEnumArgumentExceptionWebExceptionOperationCanceledException
-
DownloadFile
public void DownloadFile(Uri address, java.lang.String destinationFileName) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, FormatException, IOException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, InvalidEnumArgumentException, WebException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentNullExceptionFormatExceptionIOExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionArgumentOutOfRangeExceptionWin32ExceptionNotSupportedExceptionInvalidEnumArgumentExceptionWebExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, FormatException, CultureNotFoundException, UnreachableException, UriFormatException, FileNotFoundException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, ObjectDisposedException, InvalidEnumArgumentException, InvalidAsynchronousStateException, WebException, OutOfMemoryException, ArrayTypeMismatchException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionArgumentNullExceptionFormatExceptionCultureNotFoundExceptionUnreachableExceptionUriFormatExceptionFileNotFoundExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionInvalidAsynchronousStateExceptionWebExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, CultureNotFoundException, UnreachableException, OutOfMemoryException, UriFormatException, FileNotFoundException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionCultureNotFoundExceptionUnreachableExceptionOutOfMemoryExceptionUriFormatExceptionFileNotFoundExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, UnreachableException, UriFormatException, FileNotFoundException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionUnreachableExceptionUriFormatExceptionFileNotFoundExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, java.lang.String address) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, UnreachableException, UriFormatException, FileNotFoundException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionUnreachableExceptionUriFormatExceptionFileNotFoundExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, Uri address, ICredentials networkCredentials, boolean showUI, int connectionTimeout, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, FileNotFoundException, Win32Exception, NotSupportedException, MulticastNotSupportedException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, IOException, InvalidEnumArgumentException, SynchronizationLockException, NullReferenceException, UnreachableException, UriFormatException, WebException, OverflowException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionExternalExceptionArgumentOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionWin32ExceptionNotSupportedExceptionMulticastNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionWaitHandleCannotBeOpenedExceptionIOExceptionInvalidEnumArgumentExceptionSynchronizationLockExceptionNullReferenceExceptionUnreachableExceptionUriFormatExceptionWebExceptionOverflowExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, Uri address, ICredentials networkCredentials, boolean showUI, int connectionTimeout) throws java.lang.Throwable, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, FileNotFoundException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, IOException, InvalidEnumArgumentException, UriFormatException, InvalidAsynchronousStateException, WebException, OverflowException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionNotSupportedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionIOExceptionInvalidEnumArgumentExceptionUriFormatExceptionInvalidAsynchronousStateExceptionWebExceptionOverflowExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, FileNotFoundException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, IOException, InvalidEnumArgumentException, UriFormatException, InvalidAsynchronousStateException, WebException, OverflowException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionNotSupportedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionIOExceptionInvalidEnumArgumentExceptionUriFormatExceptionInvalidAsynchronousStateExceptionWebExceptionOverflowExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FileNotFoundException, Win32Exception, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, ObjectDisposedException, InvalidEnumArgumentException, UriFormatException, InvalidAsynchronousStateException, WebException, FormatException, OutOfMemoryException, ArrayTypeMismatchException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionNotSupportedExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionWin32ExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionUriFormatExceptionInvalidAsynchronousStateExceptionWebExceptionFormatExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FileNotFoundException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileNotFoundExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionNotSupportedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
UploadFile
public void UploadFile(java.lang.String sourceFileName, Uri address) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FileNotFoundException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, Win32Exception, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException, ObjectDisposedException, WebException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionFileNotFoundExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionWin32ExceptionNotSupportedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWebExceptionOperationCanceledException
-
getIsAvailable
public boolean getIsAvailable() throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, Win32Exception, SocketException, NetworkInformationException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, EventSourceException
-
addNetworkAvailabilityChanged
public void addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeNetworkAvailabilityChanged
public void removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-