コード例 #1
0
ファイル: Loging.cs プロジェクト: upan/ETermSimulator
 string strport = "192.168.80.21";//这个地方可能会不一样(登陆人的ip地址)
 //用户名,密码应该是传递过来的
 public byte[] Loing() //string userName,string password(这个地方暂时先不传)
 {
     EncodeMachine machine=new EncodeMachine ();
     byte[] Send = machine.LogEncode(logUserName, Password, strworkport, strport);
     return Send;
 }