MockPackageManager.CheckSignatures Method
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.
Overloads
CheckSignatures(Int32, Int32) |
Like CheckSignatures(String, String), but takes UIDs of the two packages to be checked. |
CheckSignatures(String, String) |
Compare the signatures of two packages to determine if the same signature appears in both of them. |
CheckSignatures(Int32, Int32)
Like CheckSignatures(String, String), but takes UIDs of the two packages to be checked.
[Android.Runtime.Register("checkSignatures", "(II)I", "GetCheckSignatures_IIHandler")]
public override Android.Content.PM.SignatureResult CheckSignatures (int uid1, int uid2);
[<Android.Runtime.Register("checkSignatures", "(II)I", "GetCheckSignatures_IIHandler")>]
override this.CheckSignatures : int * int -> Android.Content.PM.SignatureResult
Parameters
- uid1
- Int32
First UID whose signature will be compared.
- uid2
- Int32
Second UID whose signature will be compared.
Returns
- Attributes
Remarks
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.
Applies to
CheckSignatures(String, String)
Compare the signatures of two packages to determine if the same signature appears in both of them.
[Android.Runtime.Register("checkSignatures", "(Ljava/lang/String;Ljava/lang/String;)I", "GetCheckSignatures_Ljava_lang_String_Ljava_lang_String_Handler")]
public override Android.Content.PM.SignatureResult CheckSignatures (string? pkg1, string? pkg2);
[<Android.Runtime.Register("checkSignatures", "(Ljava/lang/String;Ljava/lang/String;)I", "GetCheckSignatures_Ljava_lang_String_Ljava_lang_String_Handler")>]
override this.CheckSignatures : string * string -> Android.Content.PM.SignatureResult
Parameters
- pkg1
- String
First package name whose signature will be compared.
- pkg2
- String
Second package name whose signature will be compared.
Returns
- Attributes
Remarks
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.