Class PayloadGenerator.WiFi
Inherited Members
Namespace: QRCoder
Assembly: Subsembly.Scraper.dll
Syntax
public class PayloadGenerator.WiFi : PayloadGenerator.Payload
Constructors
WiFi(string, string, Authentication, bool, bool)
Generates a WiFi payload. Scanned by a QR Code scanner app, the device will connect to the WiFi.
Declaration
public WiFi(string ssid, string password, PayloadGenerator.WiFi.Authentication authenticationMode, bool isHiddenSSID = false, bool escapeHexStrings = true)
Parameters
Type | Name | Description |
---|---|---|
string | ssid | SSID of the WiFi network |
string | password | Password of the WiFi network |
PayloadGenerator.WiFi.Authentication | authenticationMode | Authentification mode (WEP, WPA, WPA2) |
bool | isHiddenSSID | Set flag, if the WiFi network hides its SSID |
bool | escapeHexStrings | Set flag, if ssid/password is delivered as HEX string. Note: May not be supported on iOS devices. |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |