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.String
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.VisualBasic.Formsstatic java.lang.String
className
Qualified class name: Microsoft.VisualBasic.Devices.Networkstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)
static Network
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoNetwork
, a cast assert is made to check if types are compatible.void
DownloadFile(java.lang.String address, java.lang.String destinationFileName)
void
DownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password)
void
DownloadFile(java.lang.String address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite)
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)
void
DownloadFile(Uri address, java.lang.String destinationFileName)
void
DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password)
void
DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite)
void
DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel)
void
DownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite)
void
DownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite, UICancelOption onUserCancel)
boolean
getIsAvailable()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
Ping(java.lang.String hostNameOrAddress)
boolean
Ping(java.lang.String hostNameOrAddress, int timeout)
boolean
Ping(Uri address)
boolean
Ping(Uri address, int timeout)
void
removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)
void
setJCOInstance(JCObject instance)
void
UploadFile(java.lang.String sourceFileName, java.lang.String address)
void
UploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password)
void
UploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout)
void
UploadFile(java.lang.String sourceFileName, java.lang.String address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, UICancelOption onUserCancel)
void
UploadFile(java.lang.String sourceFileName, Uri address)
void
UploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password)
void
UploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout)
void
UploadFile(java.lang.String sourceFileName, Uri address, java.lang.String userName, java.lang.String password, boolean showUI, int connectionTimeout, UICancelOption onUserCancel)
void
UploadFile(java.lang.String sourceFileName, Uri address, ICredentials networkCredentials, boolean showUI, int connectionTimeout)
void
UploadFile(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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Network
public Network() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Network cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoNetwork
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Network
instance- 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.Throwable
OutOfMemoryException
PlatformNotSupportedException
NetworkInformationException
ArgumentException
InvalidOperationException
NullReferenceException
NotSupportedException
ArgumentNullException
ArgumentOutOfRangeException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
ObjectDisposedException
SocketException
Win32Exception
TaskCanceledException
AggregateException
PingException
SynchronizationLockException
-
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.Throwable
OutOfMemoryException
NetworkInformationException
ArgumentNullException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
InvalidOperationException
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
FormatException
ObjectDisposedException
SocketException
Win32Exception
TaskCanceledException
AggregateException
PingException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
UnreachableException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
UriFormatException
NetworkInformationException
RankException
ArrayTypeMismatchException
FormatException
SocketException
Win32Exception
TaskCanceledException
AggregateException
PingException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
UnreachableException
IndexOutOfRangeException
NotSupportedException
OutOfMemoryException
UriFormatException
NetworkInformationException
RankException
ArrayTypeMismatchException
FormatException
SocketException
Win32Exception
TaskCanceledException
AggregateException
PingException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
NullReferenceException
ArgumentNullException
FormatException
CultureNotFoundException
UnreachableException
UriFormatException
IOException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
ObjectDisposedException
InvalidEnumArgumentException
InvalidAsynchronousStateException
OutOfMemoryException
WebException
OperationCanceledException
-
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.Throwable
NotSupportedException
ArgumentException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentNullException
CultureNotFoundException
UnreachableException
OutOfMemoryException
UriFormatException
IOException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
ObjectDisposedException
InvalidEnumArgumentException
InvalidAsynchronousStateException
WebException
OperationCanceledException
-
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.Throwable
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
UnreachableException
UriFormatException
IOException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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.Throwable
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
UnreachableException
UriFormatException
IOException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
OutOfMemoryException
ExternalException
IOException
Win32Exception
MulticastNotSupportedException
MissingMethodException
TargetInvocationException
WaitHandleCannotBeOpenedException
FormatException
InvalidEnumArgumentException
SynchronizationLockException
UnreachableException
UriFormatException
WebException
OperationCanceledException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
NotSupportedException
RankException
ArrayTypeMismatchException
IOException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
InvalidEnumArgumentException
NullReferenceException
UriFormatException
InvalidAsynchronousStateException
WebException
OperationCanceledException
-
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.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
NotSupportedException
RankException
ArrayTypeMismatchException
IOException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
InvalidEnumArgumentException
NullReferenceException
UriFormatException
InvalidAsynchronousStateException
WebException
OperationCanceledException
-
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.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
ArgumentNullException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
FormatException
IOException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
InvalidEnumArgumentException
UriFormatException
InvalidAsynchronousStateException
WebException
OperationCanceledException
-
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.Throwable
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
ArgumentNullException
FormatException
IOException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
ArgumentOutOfRangeException
Win32Exception
NotSupportedException
InvalidEnumArgumentException
WebException
OperationCanceledException
-
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.Throwable
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
ArgumentNullException
FormatException
IOException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
ArgumentOutOfRangeException
Win32Exception
NotSupportedException
InvalidEnumArgumentException
WebException
OperationCanceledException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
NullReferenceException
ArgumentNullException
FormatException
CultureNotFoundException
UnreachableException
UriFormatException
FileNotFoundException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
ObjectDisposedException
InvalidEnumArgumentException
InvalidAsynchronousStateException
WebException
OutOfMemoryException
ArrayTypeMismatchException
OperationCanceledException
-
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.Throwable
NotSupportedException
ArgumentException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentNullException
CultureNotFoundException
UnreachableException
OutOfMemoryException
UriFormatException
FileNotFoundException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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.Throwable
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
UnreachableException
UriFormatException
FileNotFoundException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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.Throwable
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
UnreachableException
UriFormatException
FileNotFoundException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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.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
-
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.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
-
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.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
-
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.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
NotSupportedException
CultureNotFoundException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
FileNotFoundException
Win32Exception
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
ObjectDisposedException
InvalidEnumArgumentException
UriFormatException
InvalidAsynchronousStateException
WebException
FormatException
OutOfMemoryException
ArrayTypeMismatchException
OperationCanceledException
-
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.Throwable
ArgumentException
ArgumentNullException
CultureNotFoundException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
FileNotFoundException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
NotSupportedException
InvalidOperationException
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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.Throwable
ArgumentException
ArgumentNullException
CultureNotFoundException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
FileNotFoundException
MulticastNotSupportedException
WaitHandleCannotBeOpenedException
Win32Exception
NotSupportedException
InvalidOperationException
InvalidEnumArgumentException
ObjectDisposedException
WebException
OperationCanceledException
-
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
-
-