C# Class TrakHound.Tools.Network_Functions

Afficher le fichier Open project: TrakHound/TrakHound-Community

Méthodes publiques

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

Method Details

GetHostIP() public static méthode

public static GetHostIP ( ) : IPAddress
Résultat System.Net.IPAddress

GetMacAddress() public static méthode

public static GetMacAddress ( ) : string
Résultat string

GetSubnetMask() public static méthode

public static GetSubnetMask ( IPAddress ip ) : IPAddress
ip System.Net.IPAddress
Résultat System.Net.IPAddress

IsPortOpen() public static méthode

public static IsPortOpen ( string host, int port, int timeout ) : bool
host string
port int
timeout int
Résultat bool