C# Класс MS_PCCRC_TestTool.Utility

TODO: Update summary.
Показать файл Открыть проект

Открытые методы

Метод Описание
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