Class DownloadWillBeginEventArgs
Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.
public sealed record DownloadWillBeginEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<DownloadWillBeginEventArgs>
- Inheritance
-
EventArgsDownloadWillBeginEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
DownloadWillBeginEventArgs(FrameId, string, string, string)
Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.
public DownloadWillBeginEventArgs(FrameId FrameId, string Guid, string Url, string SuggestedFilename)
Parameters
FrameIdFrameIdId of the frame that caused download to begin.
GuidstringGlobal unique identifier of the download.
UrlstringURL of the resource being downloaded.
SuggestedFilenamestringSuggested file name of the resource (the actual name of the file saved on disk may differ).
Properties
FrameId
Id of the frame that caused download to begin.
public FrameId FrameId { get; init; }
Property Value
Guid
Global unique identifier of the download.
public string Guid { get; init; }
Property Value
SuggestedFilename
Suggested file name of the resource (the actual name of the file saved on disk may differ).
public string SuggestedFilename { get; init; }
Property Value
Url
URL of the resource being downloaded.
public string Url { get; init; }