<PackageReference Include="System.Security.Principal.Windows" Version="4.5.1" />

NTAccount

public sealed class NTAccount : IdentityReference
namespace System.Security.Principal { public sealed class NTAccount : IdentityReference { public override string Value { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } } public NTAccount(string name) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public NTAccount(string domainName, string accountName) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public override bool Equals(object o) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public override int GetHashCode() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public override bool IsValidTargetType(Type targetType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public static bool operator ==(NTAccount left, NTAccount right) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public static bool operator !=(NTAccount left, NTAccount right) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public override string ToString() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } public override IdentityReference Translate(Type targetType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } } }