Method | Description | |
---|---|---|
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.
|
public static DownloadHTTPFile ( string server, string file ) : byte[] | ||
server | string | |
file | string | |
return | byte[] |
public static ShowMessageBox ( string msg, MessageBoxIcon icon ) : void | ||
msg | string | |
icon | MessageBoxIcon | |
return | void |
public static ToHexString ( byte data ) : string | ||
data | byte | The input byte array |
return | string |
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. |
return | string |