ZipPathValidator.ICallback.OnZipEntryAccess(String) 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.
Checks whether a ZIP entry path is valid.
[Android.Runtime.Register("onZipEntryAccess", "(Ljava/lang/String;)V", "GetOnZipEntryAccess_Ljava_lang_String_Handler:Dalvik.SystemInterop.ZipPathValidator/ICallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public virtual void OnZipEntryAccess(string path);
[<Android.Runtime.Register("onZipEntryAccess", "(Ljava/lang/String;)V", "GetOnZipEntryAccess_Ljava_lang_String_Handler:Dalvik.SystemInterop.ZipPathValidator/ICallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnZipEntryAccess : string -> unit
override this.OnZipEntryAccess : string -> unit
Parameters
- path
- String
The name of the ZIP entry to validate.
- Attributes
Remarks
Android calls this method when NextEntry reads an entry or a ZipFile is opened. An implementation can throw ZipException if the entry path is invalid under its validation rules. The default Android implementation accepts all paths without throwing an exception.
See the Android onZipEntryAccess source.