// java 的这段代码转换成C#代码的是什么? java源代码如下:         string username = "linli";
string timestamp = System.currentTimeMillis();
string key = 'Hso2ThxNiSof';
string authcode = hex_md5(username + timestamp + key);

解决方案 »

  1.   

    找个C#的MD5自动转换下
     string timestamp = System.currentTimeMillis();
    时间大概转换C#是这个    DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss")
      

  2.   

    md5加密http://blog.csdn.net/chinacsharper/article/details/6538296
      

  3.   

    string username = "linli";
    string timestamp = System.currentTimeMillis();==> C# // string timestamp=DateTime.Now.ToString();
    string key = 'Hso2ThxNiSof';
    string authcode = hex_md5(username + timestamp + key); //这个方法没有,转换不了