public static string Deobfuscate(string value) { if (Environment.OSVersion.Platform == PlatformID.Win32NT) { return WindowsDeobfuscate(value); } else { return UnixDeobfuscate(value); } }
/// <summary> /// Returns the password as plain text /// </summary> /// <returns>plain text password</returns> public override string ToString() { return(this.password == null ? null : Crypto.Deobfuscate(this.password)); }