Ipop.SocialVPN.TestNetwork.Login C# (CSharp) Method

Login() public method

public Login ( string uid, string password ) : void
uid string
password string
return void
    public void Login(string uid, string password) {
      if(password == "publish") {
        Publish(uid);
      }
      Retreive();
    }

Usage Example

コード例 #1
0
        public void TestNetworkTest()
        {
            TestNetwork network = new TestNetwork();

            network.SetData("address", "fingerprint");
            network.Login("*****@*****.**", "publish");
            foreach (KeyValuePair <string, string> kvp in network.Addresses)
            {
                Console.WriteLine(kvp.Key + " = " + kvp.Value);
            }
            foreach (KeyValuePair <string, string> kvp in network.Fingerprints)
            {
                Console.WriteLine(kvp.Key + " = " + kvp.Value);
            }
        }
All Usage Examples Of Ipop.SocialVPN.TestNetwork::Login