CmisSync.Lib.Config.Password.ToString C# (CSharp) Method

ToString() public method

Returns the password as plain text
public ToString ( ) : string
return string
        public override string ToString() {
            return this.password == null ? null : Crypto.Deobfuscate(this.password);
        }

Usage Example

Exemplo n.º 1
0
 public void SetPasswordViaPlainTextString() {
     var password = new Password("secret");
     var cred = new UserCredentials {
         Password = password
     };
     Assert.AreEqual(password.ToString(), cred.Password.ToString());
 }
All Usage Examples Of CmisSync.Lib.Config.Password::ToString