KeyProtection.MaxUsageCount 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.
Returns the maximum number of times the limited use key is allowed to be used or
KeyProperties#UNRESTRICTED_USAGE_COUNT
if there’s no restriction on the number of
times the key can be used.
public int MaxUsageCount { [Android.Runtime.Register("getMaxUsageCount", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMaxUsageCount", "()I", "", ApiSince=31)>]
member this.MaxUsageCount : int
Property Value
- Attributes
Remarks
Returns the maximum number of times the limited use key is allowed to be used or KeyProperties#UNRESTRICTED_USAGE_COUNT
if there’s no restriction on the number of times the key can be used.
Java documentation for android.security.keystore.KeyProtection.getMaxUsageCount()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.