Class DownloadBehavior
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Behavior definition for when downloading a file.
public class DownloadBehavior
- Inheritance
-
DownloadBehavior
Properties
DownloadPath
The default path to save downloaded files to.
public string DownloadPath { get; set; }
Property Value
Remarks
Setting this is required if Policy is set to Allow or AllowAndName.
Policy
Whether to allow all or deny all download requests, or use default behavior if available.
public DownloadPolicy Policy { get; set; }
Property Value
Remarks
Setting this to AllowAndName will name all files according to their download GUIDs.