SecurityTokenRequirement.KeySize Propriedade

Definição

Obtém ou define o tamanho necessário da chave associada a um token de segurança.Gets or sets the required size of the key associated with a security token.

public:
 property int KeySize { int get(); void set(int value); };
public int KeySize { get; set; }
member this.KeySize : int with get, set
Public Property KeySize As Integer

Valor da propriedade

Int32

O tamanho da chave, em bits, associada a um token de segurança.The size of the key, in bits, associated with a security token. O valor padrão é 0.The default value is 0.

Exceções

A propriedade KeySize é definida com um valor menor que 0.The KeySize property is set to a value less than 0.

Comentários

O valor da KeySize propriedade também pode ser acessado obtendo a Properties propriedade, que é uma coleção de valores de propriedade.The value of the KeySize property can also be accessed by getting the Properties property, which is a collection of property values. O valor da KeySize propriedade é armazenado no índice que corresponde ao valor da KeySizeProperty propriedade.The value of the KeySize property is stored at the index matching the value of the KeySizeProperty property.

Aplica-se a

Confira também