New to Telerik UI for .NET MAUIStart a free 30-day trial

Holds the information needed for a WiFi QR code to be validated and generated.

Definition

Namespace:Telerik.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class WiFiQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder

Inheritance: objectQRCodeValueStringBuilderBaseWiFiQRCodeValueStringBuilder

Implements: IQRCodeValueStringBuilder

Constructors

Initializes a new instance of the WiFiQRCodeValueStringBuilder class.

C#
public WiFiQRCodeValueStringBuilder(WiFiInput ssid, WiFiInput password, WiFiAuthentication authentication, bool hidden = false)
Parameters:ssidWiFiInput

SSID (Service Set Identifier) of the WiFi network.

passwordWiFiInput

Password of the WiFi network.

authenticationWiFiAuthentication

Authentication mode (WEP, WPA/WPA2, None).

hiddenbool

Set flag, if the WiFi network hides its SSID.

Properties

Gets the authentication protocol.

C#
public WiFiAuthentication Authentication { get; }

Gets a value indicating whether the network is hidden.

C#
public bool Hidden { get; }

Gets the password.

C#
public WiFiInput Password { get; }

Gets the SSID.

C#
public WiFiInput Ssid { get; }

Methods

Builds the string value that will be used for encoding in a barcode.

C#
public override string BuildValue()
Returns:

string

Overrides: QRCodeValueStringBuilderBase.BuildValue()

Validates and returns all errors as a new line delimited string.

C#
public override string Validate()
Returns:

string

Overrides: QRCodeValueStringBuilderBase.Validate()