private string bintoascii(byte []bySourceByte)
{
int len,i;
byte tb;
char high,tmp,low;
string result=string.Empty;
len=bySourceByte.Length;
for(i=0;i<len;i++)
{
tb=bySourceByte[i];

tmp=(char)(MoveByte(tb,4) & 0x000f);//MoveByte()返回int类型
if(tmp>=10)
high=(char)('a'+tmp-10);
else
high=(char)('0'+tmp);
result+=high;
tmp=(char)(tb&0x000f);
if(tmp>=10)
low=(char)('a'+tmp-10);
else
low=(char)('0'+tmp);

result+=low;
}
return result;
}