C# Class TrakHound.Tools.Network_Functions

Exibir arquivo Open project: TrakHound/TrakHound-Community

Public Methods

Method Description
GetHostIP ( ) : IPAddress
GetMacAddress ( ) : string
GetSubnetMask ( IPAddress ip ) : IPAddress
IsPortOpen ( string host, int port, int timeout ) : bool

Method Details

GetHostIP() public static method

public static GetHostIP ( ) : IPAddress
return System.Net.IPAddress

GetMacAddress() public static method

public static GetMacAddress ( ) : string
return string

GetSubnetMask() public static method

public static GetSubnetMask ( IPAddress ip ) : IPAddress
ip System.Net.IPAddress
return System.Net.IPAddress

IsPortOpen() public static method

public static IsPortOpen ( string host, int port, int timeout ) : bool
host string
port int
timeout int
return bool