Login() public method

public Login ( string uid, string password ) : void
uid string
password string
return void
コード例 #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);
            }
        }
コード例 #2
0
ファイル: TestNetwork.cs プロジェクト: pstjuste/brunet
    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);
      }
    }