public class Network extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.VisualBasic.Devices.Network
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic.Forms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Forms
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.Devices.Network
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Network()
Initializes a new instance by invoking the .NET constructor.
|
Network(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)
Invokes the .NET member addNetworkAvailabilityChanged.
|
static Network |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Network, a cast assert is made to check if types are compatible. |
void |
DownloadFile(java.lang.String address,
java.lang.String destinationFileName)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(java.lang.String address,
java.lang.String destinationFileName,
java.lang.String userName,
java.lang.String password)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(java.lang.String address,
java.lang.String destinationFileName,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout,
boolean overwrite)
Invokes the .NET member DownloadFile.
|
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)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(Uri address,
java.lang.String destinationFileName)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(Uri address,
java.lang.String destinationFileName,
ICredentials networkCredentials,
boolean showUI,
int connectionTimeout,
boolean overwrite)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(Uri address,
java.lang.String destinationFileName,
ICredentials networkCredentials,
boolean showUI,
int connectionTimeout,
boolean overwrite,
UICancelOption onUserCancel)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(Uri address,
java.lang.String destinationFileName,
java.lang.String userName,
java.lang.String password)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(Uri address,
java.lang.String destinationFileName,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout,
boolean overwrite)
Invokes the .NET member DownloadFile.
|
void |
DownloadFile(Uri address,
java.lang.String destinationFileName,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout,
boolean overwrite,
UICancelOption onUserCancel)
Invokes the .NET member DownloadFile.
|
boolean |
getIsAvailable()
Gets the value of the .NET property IsAvailable.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
Ping(java.lang.String hostNameOrAddress)
Invokes the .NET member Ping.
|
boolean |
Ping(java.lang.String hostNameOrAddress,
int timeout)
Invokes the .NET member Ping.
|
boolean |
Ping(Uri address)
Invokes the .NET member Ping.
|
boolean |
Ping(Uri address,
int timeout)
Invokes the .NET member Ping.
|
void |
removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)
Invokes the .NET member removeNetworkAvailabilityChanged.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
UploadFile(java.lang.String sourceFileName,
java.lang.String address)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
java.lang.String address,
java.lang.String userName,
java.lang.String password)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
java.lang.String address,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
java.lang.String address,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout,
UICancelOption onUserCancel)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
Uri address)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
Uri address,
ICredentials networkCredentials,
boolean showUI,
int connectionTimeout)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
Uri address,
ICredentials networkCredentials,
boolean showUI,
int connectionTimeout,
UICancelOption onUserCancel)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
Uri address,
java.lang.String userName,
java.lang.String password)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
Uri address,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout)
Invokes the .NET member UploadFile.
|
void |
UploadFile(java.lang.String sourceFileName,
Uri address,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout,
UICancelOption onUserCancel)
Invokes the .NET member UploadFile.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Network()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Network(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
handler - the argument of type NetworkAvailableEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Network cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Network, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNetwork instancejava.lang.Throwable - in case of error during cast operationpublic 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,
Win32Exception,
InvalidEnumArgumentException,
ObjectDisposedException,
InvalidCastException,
WebException,
OperationCanceledException
address - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itIOException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
Win32Exception,
InvalidEnumArgumentException,
ObjectDisposedException,
InvalidCastException,
WebException,
OperationCanceledException
address - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itIOException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
NullReferenceException,
ArgumentNullException,
CultureNotFoundException,
UnreachableException,
UriFormatException,
IOException,
Win32Exception,
InvalidEnumArgumentException,
ObjectDisposedException,
InvalidAsynchronousStateException,
WebException,
OperationCanceledException
address - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itIOException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
CultureNotFoundException,
NullReferenceException,
ArgumentNullException,
FormatException,
UnreachableException,
UriFormatException,
RankException,
ArrayTypeMismatchException,
IOException,
Win32Exception,
ObjectDisposedException,
InvalidEnumArgumentException,
InvalidAsynchronousStateException,
OutOfMemoryException,
WebException,
OperationCanceledException
address - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intoverwrite - the argument of type booleanonUserCancel - the argument of type UICancelOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void DownloadFile(Uri address, java.lang.String destinationFileName) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, FormatException, IOException, NotSupportedException, Win32Exception, InvalidEnumArgumentException, InvalidCastException, RankException, ArrayTypeMismatchException, WebException, OperationCanceledException
address - the argument of type UridestinationFileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidCastException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void DownloadFile(Uri address, java.lang.String destinationFileName, ICredentials networkCredentials, boolean showUI, int connectionTimeout, boolean overwrite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, IOException, NullReferenceException, UriFormatException, Win32Exception, InvalidEnumArgumentException, InvalidAsynchronousStateException, UnreachableException, OutOfMemoryException, WebException, OperationCanceledException
address - the argument of type UridestinationFileName - the argument of type java.lang.StringnetworkCredentials - the argument of type ICredentialsshowUI - the argument of type booleanconnectionTimeout - the argument of type intoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itUriFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, IOException, UnreachableException, UriFormatException, Win32Exception, MissingMethodException, TargetInvocationException, InvalidCastException, InvalidEnumArgumentException, InvalidAsynchronousStateException, WebException, OperationCanceledException
address - the argument of type UridestinationFileName - the argument of type java.lang.StringnetworkCredentials - the argument of type ICredentialsshowUI - the argument of type booleanconnectionTimeout - the argument of type intoverwrite - the argument of type booleanonUserCancel - the argument of type UICancelOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIOException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void DownloadFile(Uri address, java.lang.String destinationFileName, java.lang.String userName, java.lang.String password) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, FormatException, IOException, NotSupportedException, Win32Exception, InvalidEnumArgumentException, InvalidCastException, RankException, ArrayTypeMismatchException, WebException, OperationCanceledException
address - the argument of type UridestinationFileName - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidCastException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, FormatException, ArgumentNullException, IOException, Win32Exception, InvalidEnumArgumentException, ObjectDisposedException, InvalidAsynchronousStateException, UriFormatException, WebException, OperationCanceledException
address - the argument of type UridestinationFileName - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itIOException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itUriFormatException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NullReferenceException, ArgumentNullException, CultureNotFoundException, RankException, ArrayTypeMismatchException, IOException, UriFormatException, Win32Exception, ObjectDisposedException, InvalidEnumArgumentException, InvalidAsynchronousStateException, UnreachableException, OutOfMemoryException, WebException, OperationCanceledException
address - the argument of type UridestinationFileName - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intoverwrite - the argument of type booleanonUserCancel - the argument of type UICancelOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUriFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic boolean getIsAvailable()
throws java.lang.Throwable,
OutOfMemoryException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
Win32Exception,
SocketException,
NetworkInformationException,
EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itSocketException - if the .NET member raises itNetworkInformationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic boolean Ping(java.lang.String hostNameOrAddress)
throws java.lang.Throwable,
OutOfMemoryException,
NetworkInformationException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
InvalidOperationException,
NullReferenceException,
NotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
ObjectDisposedException,
SocketException,
SynchronizationLockException,
Win32Exception,
TaskCanceledException,
AggregateException,
PingException
hostNameOrAddress - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itNetworkInformationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSocketException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itWin32Exception - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itPingException - if the .NET member raises itpublic boolean Ping(java.lang.String hostNameOrAddress,
int timeout)
throws java.lang.Throwable,
OutOfMemoryException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NetworkInformationException,
ArgumentException,
CultureNotFoundException,
NullReferenceException,
NotSupportedException,
ArgumentNullException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
ObjectDisposedException,
SocketException,
Win32Exception,
TaskCanceledException,
AggregateException,
PingException,
SynchronizationLockException
hostNameOrAddress - the argument of type java.lang.Stringtimeout - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNetworkInformationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSocketException - if the .NET member raises itWin32Exception - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itPingException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic boolean Ping(Uri address) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnreachableException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, NetworkInformationException, RankException, ArrayTypeMismatchException, FormatException, SocketException, Win32Exception, TaskCanceledException, AggregateException, PingException, SynchronizationLockException
address - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNetworkInformationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itWin32Exception - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itPingException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic boolean Ping(Uri address, int timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnreachableException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, NetworkInformationException, RankException, ArrayTypeMismatchException, FormatException, SocketException, Win32Exception, TaskCanceledException, AggregateException, PingException, SynchronizationLockException
address - the argument of type Uritimeout - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNetworkInformationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itWin32Exception - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itPingException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic void removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
handler - the argument of type NetworkAvailableEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic 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,
Win32Exception,
InvalidEnumArgumentException,
ObjectDisposedException,
InvalidCastException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
Win32Exception,
InvalidEnumArgumentException,
ObjectDisposedException,
InvalidCastException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
NullReferenceException,
ArgumentNullException,
CultureNotFoundException,
UnreachableException,
UriFormatException,
FileNotFoundException,
Win32Exception,
InvalidEnumArgumentException,
ObjectDisposedException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
CultureNotFoundException,
NullReferenceException,
ArgumentNullException,
FormatException,
UnreachableException,
UriFormatException,
FileNotFoundException,
Win32Exception,
ArrayTypeMismatchException,
ObjectDisposedException,
InvalidEnumArgumentException,
InvalidAsynchronousStateException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type java.lang.StringuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intonUserCancel - the argument of type UICancelOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void UploadFile(java.lang.String sourceFileName,
Uri address)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
CultureNotFoundException,
FileNotFoundException,
Win32Exception,
NotSupportedException,
InvalidEnumArgumentException,
ObjectDisposedException,
UriFormatException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUriFormatException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void UploadFile(java.lang.String sourceFileName,
Uri address,
ICredentials networkCredentials,
boolean showUI,
int connectionTimeout)
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
CultureNotFoundException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
Win32Exception,
MissingMethodException,
TargetInvocationException,
InvalidCastException,
IOException,
InvalidEnumArgumentException,
UriFormatException,
InvalidAsynchronousStateException,
UnreachableException,
OutOfMemoryException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type UrinetworkCredentials - the argument of type ICredentialsshowUI - the argument of type booleanconnectionTimeout - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itInvalidCastException - if the .NET member raises itIOException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itUriFormatException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
NullReferenceException,
MissingMethodException,
TargetInvocationException,
IOException,
InvalidEnumArgumentException,
UnreachableException,
UriFormatException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type UrinetworkCredentials - the argument of type ICredentialsshowUI - the argument of type booleanconnectionTimeout - the argument of type intonUserCancel - the argument of type UICancelOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void UploadFile(java.lang.String sourceFileName,
Uri address,
java.lang.String userName,
java.lang.String password)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
CultureNotFoundException,
FileNotFoundException,
Win32Exception,
NotSupportedException,
InvalidEnumArgumentException,
ObjectDisposedException,
UriFormatException,
WebException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type UriuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUriFormatException - if the .NET member raises itWebException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic void UploadFile(java.lang.String sourceFileName,
Uri address,
java.lang.String userName,
java.lang.String password,
boolean showUI,
int connectionTimeout)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
CultureNotFoundException,
FileNotFoundException,
Win32Exception,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
InvalidEnumArgumentException,
InvalidAsynchronousStateException,
UriFormatException,
WebException,
FormatException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type UriuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itUriFormatException - if the .NET member raises itWebException - if the .NET member raises itFormatException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic 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,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
Win32Exception,
MissingMethodException,
TargetInvocationException,
InvalidCastException,
IOException,
ObjectDisposedException,
InvalidEnumArgumentException,
UriFormatException,
InvalidAsynchronousStateException,
UnreachableException,
OutOfMemoryException,
WebException,
FormatException,
OperationCanceledException
sourceFileName - the argument of type java.lang.Stringaddress - the argument of type UriuserName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringshowUI - the argument of type booleanconnectionTimeout - the argument of type intonUserCancel - the argument of type UICancelOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itInvalidCastException - if the .NET member raises itIOException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itUriFormatException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWebException - if the .NET member raises itFormatException - if the .NET member raises itOperationCanceledException - if the .NET member raises it