public string getFileId(string flvdata, int segindex, RandomProxy rand) { string str = rand.cg_fun(flvdata); string str2 = rand.cg_fun(flvdata).Substring(0, 8); string str3 = segindex.ToString("X2"); if (str3.Length == 1) { str3 = "0" + str3; } str3 = str3.ToUpper(); string str4 = str.Substring(10, str.Length - 10); return(str2 + str3 + str4); }
public string getFileId(string flvdata, int segindex, RandomProxy rand) { string str = rand.cg_fun(flvdata); string str2 = rand.cg_fun(flvdata).Substring(0, 8); string str3 = segindex.ToString("X2"); if (str3.Length == 1) { str3 = "0" + str3; } str3 = str3.ToUpper(); string str4 = str.Substring(10, str.Length - 10); return (str2 + str3 + str4); }