C# 클래스 SharpPcap.Util.Convert

Summary description for Convert.
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils

공개 메소드들

메소드 설명
BytesToHex ( byte bytes ) : string
BytesToHex ( byte bytes, int start, int len ) : string
IpStringToInt32 ( string DottedIP ) : uint
MaskStringToBits ( string mask ) : Int32

Converts a network mask string represntation into an integer representing the number of network bits

Time_T2DateTime ( uint time_t ) : System.DateTime

Converts a time_t to DateTime

메소드 상세

BytesToHex() 공개 정적인 메소드

public static BytesToHex ( byte bytes ) : string
bytes byte
리턴 string

BytesToHex() 공개 정적인 메소드

public static BytesToHex ( byte bytes, int start, int len ) : string
bytes byte
start int
len int
리턴 string

IpStringToInt32() 공개 정적인 메소드

public static IpStringToInt32 ( string DottedIP ) : uint
DottedIP string
리턴 uint

MaskStringToBits() 공개 정적인 메소드

Converts a network mask string represntation into an integer representing the number of network bits
public static MaskStringToBits ( string mask ) : Int32
mask string
리턴 System.Int32

Time_T2DateTime() 공개 정적인 메소드

Converts a time_t to DateTime
public static Time_T2DateTime ( uint time_t ) : System.DateTime
time_t uint
리턴 System.DateTime