Represents an image of the page currently loaded in the browser.
[Serializable]
public class Screenshot : EncodedFile
Screenshot
Initializes a new instance of the Screenshot class.
public Screenshot(string base64EncodedScreenshot)
Parameters
base64EncodedScreenshot
string
The image of the page as a Base64-encoded string.
If base64EncodedScreenshot
is null.
The length of base64EncodedScreenshot
, ignoring white-space characters, is not zero or a multiple of 4.
-or-
The format of base64EncodedScreenshot
is invalid. base64EncodedScreenshot
contains a non-base-64 character, more than two padding characters, or a non-white space-character among the padding characters.
Saves the screenshot to a Portable Network Graphics (PNG) file, overwriting the file if it already exists.
public override void SaveAsFile(string fileName)
Parameters
fileName
string
The full path and file name to save the screenshot to.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4