System.ServiceModel.Security.Tokens.BinarySecretSecurityToken public class BinarySecretSecurityToken : SecurityToken Documentation Code public int KeySize { get; } public BinarySecretSecurityToken(string id, byte[] key) public BinarySecretSecurityToken(byte[] key) protected BinarySecretSecurityToken(string id, int keySizeInBits, bool allowCrypto) protected BinarySecretSecurityToken(string id, byte[] key, bool allowCrypto) public byte[] GetKeyBytes()