LocalServiceSecuritySettings.ReplayCacheSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the size of the nonce cache used for replay detection.
public:
property int ReplayCacheSize { int get(); void set(int value); };
public int ReplayCacheSize { get; set; }
member this.ReplayCacheSize : int with get, set
Public Property ReplayCacheSize As Integer
Property Value
The size of the nonce cache used for replay detection. The default is 900,000.
Examples
This example shows how to get the value of this property.
int replayCacheSize = settings.ReplayCacheSize;
Dim replayCacheSize = settings.ReplayCacheSize
Remarks
A nonce is a "number used once".
If the nonce count is exceeded, the incoming message is rejected and a MessageSecurityException is thrown. Old nonces are removed in a timely manner.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.