CmisSync.Lib.Config.Password.ToString C# (CSharp) 메소드

ToString() 공개 메소드

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

Usage Example

예제 #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