示例#1
0
文件: SDK.cs 项目: laomms/QQLoginTest
 public static void InitSdk(string userId, string password)
 {
     ExtractEmbeddedResource(Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName), Assembly.GetExecutingAssembly().GetName().Name.Replace("-", "_") + ".Files", new List <string> {
         "node.dll", "libeay32.dll"
     });
     API.Initialization(userId, password);
     API.TClient = new TCPIPClient(Dns.GetHostEntry("msfwifi.3g.qq.com").AddressList[0].ToString(), 8080);
 }