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

SetData() public method

public SetData ( string address, string fingerprint ) : void
address string
fingerprint string
return void
    public void SetData(string address, string fingerprint) {
      _address = address;
      _fingerprint = fingerprint;
    }

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::SetData