C# 클래스 MS_PCCRC_TestTool.Utility

TODO: Update summary.
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

메소드 설명
DownloadHTTPFile ( string server, string file ) : byte[]
ShowMessageBox ( string msg, MessageBoxIcon icon ) : void

Show message box.

ToHexString ( byte data ) : string

Transfer a byte array to a hex string. Example from a byte array { 0x0a, 0x0b, 0x0c }, the return is a string 0A0B0C.

ToHexString ( byte data, int start, int length ) : string

Transfer a byte array to a hex string. Example from a byte array { 0x0a, 0x0b, 0x0c }, the return is a string 0A0B0C.

메소드 상세

DownloadHTTPFile() 공개 정적인 메소드

public static DownloadHTTPFile ( string server, string file ) : byte[]
server string
file string
리턴 byte[]

ShowMessageBox() 공개 정적인 메소드

Show message box.
public static ShowMessageBox ( string msg, MessageBoxIcon icon ) : void
msg string
icon MessageBoxIcon
리턴 void

ToHexString() 공개 정적인 메소드

Transfer a byte array to a hex string. Example from a byte array { 0x0a, 0x0b, 0x0c }, the return is a string 0A0B0C.
public static ToHexString ( byte data ) : string
data byte The input byte array
리턴 string

ToHexString() 공개 정적인 메소드

Transfer a byte array to a hex string. Example from a byte array { 0x0a, 0x0b, 0x0c }, the return is a string 0A0B0C.
public static ToHexString ( byte data, int start, int length ) : string
data byte The input byte array
start int The start index.
length int The data length of convert to string.
리턴 string