Method | Description | |
---|---|---|
Equals ( object obj ) : bool |
Compare two addresses for equality. Compare two addresses for equality. Two UniAddresss are equal if they are both UniAddress' and refer to the same IP address. |
|
FirstCalledName ( ) : string |
Guess first called name to try for session establishment. Guess first called name to try for session establishment. This method is used exclusively by the jcifs.smb package. |
|
GetAddress ( ) : object |
Return the underlying NbtAddress or InetAddress. Return the underlying NbtAddress or InetAddress. |
|
GetAllByName ( string hostname, bool possibleNtDomainOrWorkgroup ) : SharpCifs.UniAddress[] | ||
GetByName ( string hostname ) : |
Determines the address of a host given it's host name. Determines the address of a host given it's host name. The name can be a machine name like "jcifs.samba.org", or an IP address like "192.168.1.15". |
|
GetByName ( string hostname, bool possibleNtDomainOrWorkgroup ) : |
Lookup hostname and return it's UniAddress. Lookup hostname and return it's UniAddress. If the possibleNTDomainOrWorkgroup parameter is true an addtional name query will be performed to locate a master browser. |
|
GetHashCode ( ) : int |
Return the IP address of this address as a 32 bit integer. Return the IP address of this address as a 32 bit integer. |
|
GetHostAddress ( ) : string |
Return the IP address as text such as "192.168.1.15". Return the IP address as text such as "192.168.1.15". |
|
GetHostIpAddress ( ) : |
||
GetHostName ( ) : string |
Return the hostname of this address such as "MYCOMPUTER". Return the hostname of this address such as "MYCOMPUTER". |
|
NextCalledName ( ) : string |
Guess next called name to try for session establishment. Guess next called name to try for session establishment. This method is used exclusively by the jcifs.smb package. |
|
ToString ( ) : string |
Return the a text representation of this address such as MYCOMPUTER/192.168.1.15. Return the a text representation of this address such as MYCOMPUTER/192.168.1.15. |
|
UniAddress ( object addr ) : System |
Create a UniAddress by wrapping an InetAddress or NbtAddress. Create a UniAddress by wrapping an InetAddress or NbtAddress. |
Method | Description | |
---|---|---|
IsAllDigits ( string hostname ) : bool | ||
IsDotQuadIp ( string hostname ) : bool | ||
LookupServerOrWorkgroup ( string name, |
||
UniAddress ( ) : System |
public static GetAllByName ( string hostname, bool possibleNtDomainOrWorkgroup ) : SharpCifs.UniAddress[] | ||
hostname | string | |
possibleNtDomainOrWorkgroup | bool | |
return | SharpCifs.UniAddress[] |
public static GetByName ( string hostname ) : |
||
hostname | string | NetBIOS or DNS hostname to resolve |
return |
public static GetByName ( string hostname, bool possibleNtDomainOrWorkgroup ) : |
||
hostname | string | |
possibleNtDomainOrWorkgroup | bool | |
return |
public GetHostIpAddress ( ) : |
||
return |