A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://seleniumhq.github.io/selenium/docs/api/dotnet/webdriver/OpenQA.Selenium.EncodedFile.html below:

Class EncodedFile

Class EncodedFile
Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Represents a file transmitted over the wire as a base64-encoded string.

public abstract class EncodedFile
Inheritance

EncodedFile

Derived
Inherited Members
Constructors EncodedFile(string)

Initializes a new instance of the EncodedFile class.

protected EncodedFile(string base64EncodedFile)
Parameters
base64EncodedFile string

The file as a Base64-encoded string.

Exceptions
ArgumentNullException

If base64EncodedFile is null.

FormatException

The length of base64EncodedFile, ignoring white-space characters, is not zero or a multiple of 4.

-or-

The format of base64EncodedFile is invalid. base64EncodedFile contains a non-base-64 character, more than two padding characters, or a non-white space-character among the padding characters.

Properties AsBase64EncodedString

Gets the value of the encoded file as a Base64-encoded string.

public string AsBase64EncodedString { get; }
Property Value
string
AsByteArray

Gets the value of the encoded file as an array of bytes.

public byte[] AsByteArray { get; }
Property Value
byte[]
Methods SaveAsFile(string)

Saves the file, overwriting it if it already exists.

public abstract void SaveAsFile(string fileName)
Parameters
fileName string

The full path and file name to save the file to.

ToString()

Returns a String that represents the current Object.

public override string ToString()
Returns
string

A String that represents the current Object.


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