QRCoder Abstract base class for generating QR codes. Derived classes typically render a QR code into a specific format (png, System.Drawing.Bitmap, PDF, etc). Gets or sets the QRCodeData used to generate the QR code. Initializes a new instance of the AbstractQRCode class. Initializes a new instance of the AbstractQRCode class with the specified QRCodeData. The QRCodeData object generated by QRCodeGenerator.CreateQrCode(). Sets the QRCodeData object that will be used to generate the QR code. This method is useful for COM objects connections. The QRCodeData object generated by QRCodeGenerator.CreateQrCode(). Disposes the QRCodeData object. Represents an art-style QR code generator that provides functionality to render QR codes with dots as modules. Initializes a new instance of the class. Constructor without params to be used in COM Objects connections Initializes a new instance of the class with the specified . generated by the . Renders an art-style QR code with dots as modules. (With default settings: DarkColor=Black, LightColor=White, Background=Transparent, QuietZone=true) Amount of px each dark/light module of the QR code shall take place in the final QR code image QRCode graphic as bitmap Renders an art-style QR code with dots as modules and a background image (With default settings: DarkColor=Black, LightColor=White, Background=Transparent, QuietZone=true) A bitmap object that will be used as background picture QRCode graphic as bitmap Renders an art-style QR code with dots as modules and various user settings Amount of px each dark/light module of the QR code shall take place in the final QR code image Color of the dark modules Color of the light modules Color of the background A bitmap object that will be used as background picture Value between 0.0 to 1.0 that defines how big the module dots are. The bigger the value, the less round the dots will be. If true a white border is drawn around the whole QR Code Style of the quiet zones Style of the background image (if set). Fill=spanning complete graphic; DataAreaOnly=Don't paint background into quietzone Optional image that should be used instead of the default finder patterns QRCode graphic as bitmap If the pixelSize is bigger than the pixelsPerModule or may end up filling the Module making a traditional QR code. Pixels used per module rendered Size of the dots Color of the pixels Checks if a given module(-position) is part of the quietzone of a QR code X position Y position Total number of modules per row true, if position is part of quiet zone Checks if a given module(-position) is part of one of the three finder patterns of a QR code X position Y position Total number of modules per row Offset in modules (usually depending on drawQuietZones parameter) true, if position is part of any finder pattern Resize to a square bitmap, but maintain the aspect ratio by padding transparently. Resized image as bitmap Defines how the quiet zones shall be rendered. Quiet zones are rendered with dotted modules. Quiet zones are rendered with flat, solid modules. Defines how the background image (if set) shall be rendered. Background image spans the complete graphic. Background image is only painted in the data area, excluding the quiet zone. Provides static methods for creating art-style QR codes. Helper function to create an ArtQRCode graphic with a single function call Text/payload to be encoded inside the QR code Amount of px each dark/light module of the QR code shall take place in the final QR code image Color of the dark modules Color of the light modules Color of the background The level of error correction data Shall the generator be forced to work in UTF-8 mode? Should the byte-order-mark be used? Which ECI mode shall be used? Set fixed QR code target version. A bitmap object that will be used as background picture Value between 0.0 to 1.0 that defines how big the module dots are. The bigger the value, the less round the dots will be. If true a white border is drawn around the whole QR Code Style of the quiet zones Style of the background image (if set). Fill=spanning complete graphic; DataAreaOnly=Don't paint background into quietzone Optional image that should be used instead of the default finder patterns QRCode graphic as bitmap Represents an ASCII-style QR code generator that provides functionality to render QR codes as textual representations. Constructor without params to be used in COM Objects connections Initializes a new instance of the class with the specified . The QR code data generated by the . Returns a strings that contains the resulting QR code as textual representation. Number of repeated darkColorString/whiteSpaceString per module. String for use as dark color modules. In case of string make sure whiteSpaceString has the same length. String for use as white modules (whitespace). In case of string make sure darkColorString has the same length. Bool that defines if quiet zones around the QR code shall be drawn End of line separator. (Default: \n) Returns an array of strings that contains each line of the resulting QR code as ASCII chars. Number of repeated darkColorString/whiteSpaceString per module. String for use as dark color modules. In case of string make sure whiteSpaceString has the same length. String for use as white modules (whitespace). In case of string make sure darkColorString has the same length. Bool that defines if quiet zones around the QR code shall be drawn Returns a strings that contains the resulting QR code as minified textual representation. Bool that defines if quiet zones around the QR code shall be drawn If set to true, dark and light colors will be inverted End of line separator. (Default: \n) Provides static methods for generating ASCII-style QR codes. Generates an ASCII QR code graphic with specified parameters. The text to be encoded in the QR code. Number of repeated characters per module. String representing dark modules. String representing light modules. Error correction level for the QR code. Force UTF-8 encoding. Include UTF-8 byte order mark. Extended Channel Interpretation mode. Specific QR code version to use. End of line separator. Include quiet zones around the QR code. ASCII representation of the QR code. Generates a small ASCII QR code graphic with specified parameters. The text to be encoded in the QR code. Error correction level for the QR code. Force UTF-8 encoding. Include UTF-8 byte order mark. Extended Channel Interpretation mode. Specific QR code version to use. End of line separator. Include quiet zones around the QR code. Invert dark and light colors. Minified ASCII representation of the QR code. Represents a QR code generator that outputs base64-encoded images. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Returns a base64-encoded string that contains the resulting QR code as a PNG image. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Returns the QR code graphic as a base64-encoded string. Returns a base64-encoded string that contains the resulting QR code as an image. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. Indicates if quiet zones around the QR code should be drawn. The type of image to generate (PNG, JPEG, GIF). Returns the QR code graphic as a base64-encoded string. Returns a base64-encoded string that contains the resulting QR code as an image. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. Indicates if quiet zones around the QR code should be drawn. The type of image to generate (PNG, JPEG, GIF). Returns the QR code graphic as a base64-encoded string. Returns a base64-encoded string that contains the resulting QR code as an image with an embedded icon. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. The icon to embed in the center of the QR code. The size of the icon as a percentage of the QR code. The width of the border around the icon. Indicates if quiet zones around the QR code should be drawn. The type of image to generate (PNG, JPEG, GIF). Returns the QR code graphic as a base64-encoded string. Converts a bitmap to a base64-encoded string. The bitmap to convert. The type of image (PNG, JPEG, GIF). Returns the base64-encoded string representation of the bitmap. Specifies the type of image to generate. Graphics Interchange Format (GIF) image format, a bitmap image format with limited color support Joint Photographic Experts Group (JPEG) image format, a lossy compressed image format Portable Network Graphics (PNG) image format, a lossless raster graphics format Provides static methods for creating base64-encoded QR codes. Creates a base64-encoded QR code with a single function call. The text or payload to be encoded inside the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. Indicates if quiet zones around the QR code should be drawn. The type of image to generate (PNG, JPEG, GIF). Returns the QR code graphic as a base64-encoded string. Represents a QR code generator that outputs QR codes as bitmap byte arrays. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Returns the QR code graphic as a bitmap byte array. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Returns the QR code graphic as a bitmap byte array. Returns the QR code graphic as a bitmap byte array. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. Returns the QR code graphic as a bitmap byte array. Returns the QR code graphic as a bitmap byte array. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules as an RGB byte array. The color of the light modules as an RGB byte array. Returns the QR code graphic as a bitmap byte array. Converts an integer to a 4 bytes and writes them to a byte array at given position The integer to convert. Index of destinationArray where the converted bytes are written to Destination byte array that receives the bytes Provides helper functions for creating bitmap byte array QR codes. Creates a bitmap byte array QR code with a single function call. The text or payload to be encoded inside the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. Returns the QR code graphic as a bitmap byte array. Creates a bitmap byte array QR code with a single function call. The text or payload to be encoded inside the QR code. The level of error correction data. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Returns the QR code graphic as a bitmap byte array. Exception thrown when the given payload exceeds the maximum size of the QR code standard. Initializes a new instance of the class with a specified error message. The error correction level of the QR code. The encoding mode of the QR code. The maximum size allowed for the given parameters in bytes. Initializes a new instance of the class with a specified error message. The error correction level of the QR code. The encoding mode of the QR code. The fixed version of the QR code. The maximum size allowed for the given parameters in bytes. Helper methods for . Copies a specified number of elements from one to another starting at the specified offsets. The source from which elements will be copied. The zero-based index in the source at which copying begins. The destination to which elements will be copied. The zero-based index in the destination at which storing begins. The number of elements to copy. The index in the destination immediately following the last copied element. Copies a stream to another stream. Indicates whether the specified string is null, empty, or consists only of white-space characters. if the is null, empty, or white space; otherwise, . Converts a hex color string to a byte array. Color in HEX format like #ffffff. Returns the color as a byte array. Appends an integer value to the StringBuilder using invariant culture formatting. The StringBuilder to append to. The integer value to append. Appends a float value to the StringBuilder using invariant culture formatting with G7 precision. The StringBuilder to append to. The float value to append. Used to represent a string value for a value in an enum Holds the alue in an enum Init a StringValue Attribute Enumeration extension methods. Will get the string value for a given enum's value Provides utility methods for generating QR code payloads. Contains classes and methods for generating payloads for QR codes. Validates the structure and checksum of an IBAN. The IBAN to validate. True if the IBAN is valid; otherwise, false. Validates the structure and checksum of a QR IBAN. The QR IBAN to validate. True if the QR IBAN is valid; otherwise, false. Validates the structure of a BIC. The BIC to validate. True if the BIC is valid; otherwise, false. Validates the structure of a BIC with optional requirement check. The BIC to validate. Whether the BIC is required. If false, null/empty values are considered valid. True if the BIC is valid; otherwise, false. Converts a string to a specified encoding. The string to convert. The encoding to use. The converted string. Escapes forbidden characters in a string. The input string. Indicates whether to use a simple escape mode. The escaped string. Validates a string using the Mod10 checksum algorithm. The string to validate. True if the string is valid; otherwise, false. Checks if a string is in hexadecimal format. The input string. True if the string is in hexadecimal format; otherwise, false. Represents a BezahlCode payload for QR codes. Initializes a new instance of the class for contact data. Type of the bank transfer Name of the receiver (Empfänger) Bank account (Kontonummer) Bank institute (Bankleitzahl) IBAN BIC Reason (Verwendungszweck) Initializes a new instance of the class for non-SEPA payments. Type of the bank transfer Name of the receiver (Empfänger) Bank account (Kontonummer) Bank institute (Bankleitzahl) Amount (Betrag) Unit of intervall for payment ('M' = monthly, 'W' = weekly) Intervall for payment. This value is combined with 'periodicTimeunit' Date of first periodic execution Date of last periodic execution Reason (Verwendungszweck) Transfer Key (Textschlüssel, z.B. Spendenzahlung = 69) Currency (Währung) Execution date (Ausführungsdatum) Initializes a new instance of the class for SEPA payments. Type of the bank transfer Name of the receiver (Empfänger) IBAN BIC Amount (Betrag) Unit of intervall for payment ('M' = monthly, 'W' = weekly) Intervall for payment. This value is combined with 'periodicTimeunit' Date of first periodic execution Date of last periodic execution Creditor id (Gläubiger ID) Manadate id (Mandatsreferenz) Signature date (Erteilungsdatum des Mandats) Reason (Verwendungszweck) SEPA reference (SEPA-Referenz) Currency (Währung) Execution date (Ausführungsdatum) Generic constructor. Please use specific (non-SEPA or SEPA) constructor. Type of the bank transfer Name of the receiver (Empfänger) Bank account (Kontonummer) Bank institute (Bankleitzahl) IBAN BIC Amount (Betrag) Unit of intervall for payment ('M' = monthly, 'W' = weekly) Intervall for payment. This value is combined with 'periodicTimeunit' Date of first periodic execution Date of last periodic execution Creditor id (Gläubiger ID) Manadate id (Mandatsreferenz) Signature date (Erteilungsdatum des Mandats) Reason (Verwendungszweck) Transfer Key (Textschlüssel, z.B. Spendenzahlung = 69) SEPA reference (SEPA-Referenz) Currency (Währung) Execution date (Ausführungsdatum) Only used for internal state handdling ISO 4217 currency codes United Arab Emirates Dirham Afghan Afghani Albanian Lek Armenian Dram Netherlands Antillean Guilder Angolan Kwanza Argentine Peso Australian Dollar Aruban Florin Azerbaijani Manat Bosnia and Herzegovina Convertible Mark Barbados Dollar Bangladeshi Taka Bulgarian Lev Bahraini Dinar Burundian Franc Bermudian Dollar Brunei Dollar Bolivian Boliviano Bolivian Mvdol (funds code) Brazilian Real Bahamian Dollar Bhutanese Ngultrum Botswana Pula Belarusian Ruble Belize Dollar Canadian Dollar Congolese Franc WIR Euro (complementary currency) Swiss Franc WIR Franc (complementary currency) Unidad de Fomento (funds code) Chilean Peso Chinese Yuan Colombian Peso Unidad de Valor Real (UVR) (funds code) Costa Rican Colón Cuban Convertible Peso Cuban Peso Cape Verde Escudo Czech Koruna Djiboutian Franc Danish Krone Dominican Peso Algerian Dinar Egyptian Pound Eritrean Nakfa Ethiopian Birr Euro Fiji Dollar Falkland Islands Pound Pound Sterling Georgian Lari Ghanaian Cedi Gibraltar Pound Gambian Dalasi Guinean Franc Guatemalan Quetzal Guyanese Dollar Hong Kong Dollar Honduran Lempira Croatian Kuna Haitian Gourde Hungarian Forint Indonesian Rupiah Israeli New Shekel Indian Rupee Iraqi Dinar Iranian Rial Icelandic Króna Jamaican Dollar Jordanian Dinar Japanese Yen Kenyan Shilling Kyrgyzstani Som Cambodian Riel Comoro Franc North Korean Won South Korean Won Kuwaiti Dinar Cayman Islands Dollar Kazakhstani Tenge Lao Kip Lebanese Pound Sri Lankan Rupee Liberian Dollar Lesotho Loti Libyan Dinar Moroccan Dirham Moldovan Leu Malagasy Ariary Macedonian Denar Myanmar Kyat Mongolian Tögrög Macanese Pataca Mauritanian Ouguiya Mauritian Rupee Maldivian Rufiyaa Malawian Kwacha Mexican Peso Mexican Unidad de Inversión (UDI) (funds code) Malaysian Ringgit Mozambican Metical Namibian Dollar Nigerian Naira Nicaraguan Córdoba Norwegian Krone Nepalese Rupee New Zealand Dollar Omani Rial Panamanian Balboa Peruvian Sol Papua New Guinean Kina Philippine Peso Pakistani Rupee Polish Złoty Paraguayan Guaraní Qatari Riyal Romanian Leu Serbian Dinar Russian Ruble Rwandan Franc Saudi Riyal Solomon Islands Dollar Seychelles Rupee Sudanese Pound Swedish Krona Singapore Dollar Saint Helena Pound Sierra Leonean Leone Somali Shilling Surinamese Dollar South Sudanese Pound São Tomé and Príncipe Dobra Salvadoran Colón Syrian Pound Swazi Lilangeni Thai Baht Tajikistani Somoni Turkmenistan Manat Tunisian Dinar Tongan Paʻanga Turkish Lira Trinidad and Tobago Dollar New Taiwan Dollar Tanzanian Shilling Ukrainian Hryvnia Ugandan Shilling United States Dollar United States Dollar (Next day) (funds code) Uruguay Peso en Unidades Indexadas (URUIURUI) (funds code) Uruguayan Peso Uzbekistan Som Venezuelan Bolívar Vietnamese Đồng Vanuatu Vatu Samoan Tālā CFA Franc BEAC Silver (one troy ounce) Gold (one troy ounce) Bond Markets Unit European Composite Unit (EURCO) Bond Markets Unit European Monetary Unit (E.M.U.-6) Bond Markets Unit European Unit of Account 9 (E.U.A.-9) Bond Markets Unit European Unit of Account 17 (E.U.A.-17) East Caribbean Dollar Special Drawing Rights CFA Franc BCEAO Palladium (one troy ounce) CFP Franc Platinum (one troy ounce) SUCRE Codes specifically reserved for testing purposes ADB Unit of Account The code assigned for transactions where no currency is involved Yemeni Rial South African Rand Zambian Kwacha Zimbabwean Dollar Operation modes of the BezahlCode Single payment (Überweisung) Single SEPA payment (SEPA-Überweisung) Single debit (Lastschrift) Single SEPA debit (SEPA-Lastschrift) Periodic payment (Dauerauftrag) Periodic SEPA payment (SEPA-Dauerauftrag) Contact data Contact data V2 Exception class for BezahlCode errors. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the error. The exception that is the cause of the current exception. Generates a payload for Bitcoin payment addresses. Initializes a new instance of the class. Generates a Bitcoin payment payload. QR Codes with this payload can open a payment app. The Bitcoin address of the payment receiver. The amount of Bitcoin to transfer. A reference label. A reference text or message. Generates a payload for Bitcoin Cash payment addresses. Initializes a new instance of the class. Generates a Bitcoin Cash payment payload. QR Codes with this payload can open a payment app. The Bitcoin Cash address of the payment receiver. The amount of Bitcoin Cash to transfer. A reference label. A reference text or message. Generates a payload for Bitcoin-like cryptocurrency payment addresses. Initializes a new instance of the class. Generates a Bitcoin-like cryptocurrency payment payload. QR Codes with this payload can open a payment app. The type of Bitcoin-like cryptocurrency. The cryptocurrency address of the payment receiver. The amount of coins to transfer. A reference label. A reference text or message. Returns a string representation of the Bitcoin-like cryptocurrency address payload. A string representation of the cryptocurrency address payload. Enumerates Bitcoin-like cryptocurrencies. Bitcoin. Bitcoin Cash. Litecoin. Generates a bookmark payload. When scanned by a QR code reader, this creates a browser bookmark. Initializes a new instance of the class. The URL of the bookmark. The title of the bookmark. Returns a string representation of the bookmark payload. A string representation of the bookmark payload in the MEBKM format. Generates a calendar entry/event payload. Initializes a new instance of the class. Subject/title of the calendar event. Description of the event. Location (latitude:longitude or address) of the event. Start time (including UTC offset) of the event. End time (including UTC offset) of the event. Indicates if it is a full day event. Type of encoding (universal or iCal). Initializes a new instance of the class. Subject/title of the calendar event. Description of the event. Location (latitude:longitude or address) of the event. Start time of the event. End time of the event. Indicates if it is a full day event. Type of encoding (universal or iCal). Returns a string representation of the calendar event payload. A string representation of the calendar event in the VEVENT format. Specifies the encoding type for the calendar event. iCalendar complete encoding. Universal encoding. Generates a vCard or meCard contact dataset. Initializes a new instance of the class. Payload output type. The first name. The last name. The display name. Normal phone number. Mobile phone. Office phone number. E-Mail address. Birthday. Website / Homepage. Street. House number. City. State or Region. Zip code. Country. The address order format to use. Memo text / notes. Organization/Company. Organization/Company Title. Initializes a new instance of the class with address type support. Payload output type. The first name. The last name. The display name. Normal phone number. Mobile phone. Office phone number. E-Mail address. Birthday. Website / Homepage. Street. House number. City. State or Region. Zip code. Country. The address order format to use. Memo text / notes. Organization/Company. Organization/Company Title. The address type (Home, Work, HomePreferred, or WorkPreferred). Returns a string representation of the contact data payload. A string representation of the contact data in the specified format. Gets the address type string for vCard 2.1 format. Gets the address type string for vCard 3.0 format. Gets the address type string for vCard 4.0 format. Defines the type of address (home or work). Home address. Work address. Home address marked as preferred (default for backwards compatibility). Work address marked as preferred. Possible output types. Either vCard 2.1, vCard 3.0, vCard 4.0 or MeCard. MeCard output type. vCard 2.1 output type. vCard 3.0 output type. vCard 4.0 output type. Define the address format. Default: European format, ([Street] [House Number] and [Postal Code] [City]) Reversed: North American and others format ([House Number] [Street] and [City] [Postal Code]) Default address order format (European format). Reversed address order format (North American and others format). Generates a geo location payload. Supports raw location (GEO encoding) or Google Maps link (GoogleMaps encoding). Initializes a new instance of the class. Supports raw location (GEO encoding) or Google Maps link (GoogleMaps encoding). Latitude with . as splitter. Longitude with . as splitter. Encoding type - GEO or GoogleMaps. Returns a string representation of the geolocation payload. A string representation of the geolocation payload in the specified encoding format. Defines the encoding types for geolocation payloads. GEO encoding type. Google Maps encoding type. Generates the payload for a Girocode (QR-Code with credit transfer information). Gets the ECC level required for Girocode, which is always set to M. Initializes a new instance of the class, which contains a payload for a Girocode (QR-Code with credit transfer information). Account number of the Beneficiary. Only IBAN is allowed. BIC of the Beneficiary Bank. Name of the Beneficiary. Amount of the Credit Transfer in Euro. (Amount must be more than 0.01 and less than 999999999.99) Remittance Information (Purpose-/reference text). (optional) Type of remittance information. Either structured (e.g. ISO 11649 RF Creditor Reference) and max. 35 chars or unstructured and max. 140 chars. Purpose of the Credit Transfer (optional) Beneficiary to originator information. (optional) Girocode version. Either 001 or 002. Default: 001. Encoding of the Girocode payload. Default: ISO-8859-1 Thrown when the input values are not valid according to the Girocode specification. Returns the Girocode payload as a string. The Girocode payload as a string. Defines the Girocode version. Girocode version 1. Girocode version 2. Defines the type of remittance information. Structured remittance information. Unstructured remittance information. Defines the encoding types for Girocode payloads. UTF-8 encoding. ISO-8859-1 encoding. ISO-8859-2 encoding. ISO-8859-4 encoding. ISO-8859-5 encoding. ISO-8859-7 encoding. ISO-8859-10 encoding. ISO-8859-15 encoding. Represents errors that occur during Girocode generation. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference if no inner exception is specified. Generates a payload for Litecoin payment addresses. Initializes a new instance of the class. Generates a Litecoin payment payload. QR Codes with this payload can open a payment app. The Litecoin address of the payment receiver. The amount of Litecoin to transfer. A reference label. A reference text or message. Generates an email payload that can be used to create a QR code for sending an email. Creates an email payload with subject and message/text. Receiver's email address. Subject line of the email. Message content of the email. Payload encoding type. Choose dependent on your QR Code scanner app. Returns the email payload as a string. The email payload as a string. Defines the encoding types for the email payload. Uses the "mailto:" URI scheme. Uses the "MATMSG:" format. Uses the "SMTP:" format. Generates a MMS (Multimedia Messaging Service) payload for QR codes. Creates a MMS payload without text. Receiver phone number. Encoding type. Creates a MMS payload with text (subject). Receiver phone number. Text of the MMS. Encoding type. Returns the MMS payload as a string. The MMS payload as a string. Defines the encoding types for the MMS payload. Uses the "mms:" URI scheme. Uses the "mmsto:" URI scheme. Generates a Monero transaction payload for QR codes. Creates a Monero transaction payload. Receiver's Monero address. Amount to transfer. Payment ID. Recipient's name. Reference text / payment description. Thrown when the address is null or empty, or when the txAmount is less than or equal to 0. Returns the Monero transaction payload as a URI string. The Monero transaction payload as a URI string. Exception class for Monero transaction errors. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the error. The exception that is the cause of the current exception. Generates a payload for One Time Password (OTP) used in applications like Google Authenticator. The type of OTP (TOTP or HOTP). The secret key used for OTP generation. The hashing algorithm used for OTP (SHA1, SHA256, SHA512). Obsolete. Use instead. The issuer of the OTP (usually the service or company name). The label for the OTP (usually the user's email or username). The number of digits in the OTP (default is 6). The counter value for HOTP (only used if Type is HOTP). The period in seconds for TOTP (default is 30). Enum for OTP types. Time-based One-Time Password (TOTP) HMAC-based One-Time Password (HOTP) Enum for hashing algorithms used in OTP. SHA-1 hashing algorithm SHA-256 hashing algorithm SHA-512 hashing algorithm Obsolete. Use instead. SHA-1 hashing algorithm (Obsolete) SHA-256 hashing algorithm (Obsolete) SHA-512 hashing algorithm (Obsolete) Returns the OTP payload as a string. The OTP payload as a string. Returns the HOTP payload as a string. The HOTP payload as a string. Returns the TOTP payload as a string. The TOTP payload as a string. Processes the common fields for both TOTP and HOTP. StringBuilder to append the common fields. Represents the base class for all QR code payloads. Gets the version of the QR code payload. Gets the error correction level of the QR code payload. Gets the ECI mode of the QR code payload. Returns a string representation of the QR code payload. A string representation of the QR code payload. Generates a phone call payload. Initializes a new instance of the class. Phone number of the receiver. Returns the phone call payload as a string. The phone call payload as a string. Generates a payload for a Russian payment order. Initializes a new instance of the class. Name of the payee (Наименование получателя платежа) Beneficiary account number (Номер счета получателя платежа) Name of the beneficiary's bank (Наименование банка получателя платежа) BIC (БИК) Box number / account payee's bank (Номер кор./сч. банка получателя платежа) An (optional) object of additional fields Type of encoding (default UTF-8) Returns the payload as a string. ⚠ Attention: If CharacterSets was set to windows-1251 or koi8-r you should use ToBytes() instead of ToString() and pass the bytes to CreateQrCode()! The payload as a string. Returns the payload as a byte array. Should be used if CharacterSets equals windows-1251 or koi8-r. The payload as a byte array. Determines a valid separator Takes all optional fields that are not null and returns their string represantion A List of strings Takes all mandatory fields that are not null and returns their string represantion A List of strings Validates a string against a given Regex pattern. Returns input if it matches the Regex expression (=valid) or throws Exception in case there's a mismatch String to be validated Name/descriptor of the string to be validated A regex pattern to be used for validation An optional error text. If null, a standard error text is generated Input value (in case it is valid) Validates a string against one or more given Regex patterns. Returns input if it matches all regex expressions (=valid) or throws Exception in case there's a mismatch String to be validated Name/descriptor of the string to be validated An array of regex patterns to be used for validation An optional error text. If null, a standard error text is generated Input value (in case it is valid) Represents optional fields for the RussiaPaymentOrder. Payment amount, in kopecks (FTI’s Amount.) Сумма платежа, в копейках Payment name (purpose) Наименование платежа (назначение) Payee's INN (Resident Tax Identification Number; Text, up to 12 characters.) ИНН получателя платежа Payer's INN (Resident Tax Identification Number; Text, up to 12 characters.) ИНН плательщика Status compiler payment document Статус составителя платежного документа KPP of the payee (Tax Registration Code; Text, up to 9 characters.) КПП получателя платежа CBC КБК All-Russian classifier territories of municipal formations Общероссийский классификатор территорий муниципальных образований Basis of tax payment Основание налогового платежа Taxable period Налоговый период Document number Номер документа Document date Дата документа Payment type Тип платежа Payer's surname Фамилия плательщика Payer's name Имя плательщика Payer's patronymic Отчество плательщика Payer's address Адрес плательщика Personal account of a budget recipient Лицевой счет бюджетного получателя Payment document index Индекс платежного документа Personal account number in the personalized accounting system in the Pension Fund of the Russian Federation - SNILS № лицевого счета в системе персонифицированного учета в ПФР - СНИЛС Number of contract Номер договора Personal account number of the payer in the organization (in the accounting system of the PU) Номер лицевого счета плательщика в организации (в системе учета ПУ) Apartment number Номер квартиры Phone number Номер телефона DUL payer type Вид ДУЛ плательщика DUL number of the payer Номер ДУЛ плательщика FULL NAME. child / student Ф.И.О. ребенка/учащегося Date of birth Дата рождения Due date / Invoice date Срок платежа/дата выставления счета Payment period Период оплаты Payment type Вид платежа Service code / meter name Код услуги/название прибора учета Metering device number Номер прибора учета Meter reading Показание прибора учета Notification, accrual, account number Номер извещения, начисления, счета Date of notification / accrual / invoice / resolution (for traffic police) Дата извещения/начисления/счета/постановления (для ГИБДД) Institution number (educational, medical) Номер учреждения (образовательного, медицинского) Kindergarten / school class number Номер группы детсада/класса школы Full name of the teacher, specialist providing the service ФИО преподавателя, специалиста, оказывающего услугу Insurance / additional service amount / Penalty amount (in kopecks) Сумма страховки/дополнительной услуги/Сумма пени (в копейках) Resolution number (for traffic police) Номер постановления (для ГИБДД) Enforcement Proceedings Number Номер исполнительного производства Type of payment code (for example, for payments to Rosreestr) Код вида платежа (например, для платежей в адрес Росреестра) Unique accrual identifier Уникальный идентификатор начисления The technical code recommended by the service provider. Maybe used by the receiving organization to call the appropriate processing IT system. Технический код, рекомендуемый для заполнения поставщиком услуг. Может использоваться принимающей организацией для вызова соответствующей обрабатывающей ИТ-системы. (List of values of the technical code of the payment) Перечень значений технического кода платежа Mobile and landline telephone services Мобильная связь и стационарный телефон Utility services (Housing and Communal Services) Коммунальные услуги (ЖКХ) Traffic police, taxes, duties, and budget payments ГИБДД, налоги, пошлины, бюджетные платежи Security services Охранные услуги Services provided by the Federal Migration Service Услуги, оказываемые УФМС Pension Fund of the Russian Federation Пенсионный фонд России (ПФР) Loan repayment Погашение кредитов Educational institutions Образовательные учреждения Internet and TV services Интернет и телевидение Electronic money Электронные деньги Recreation and travel Отдых и путешествия Investments and insurance Инвестиции и страхование Sports and health Спорт и здоровье Charitable and public organizations Благотворительные и общественные организации Other services Прочие услуги Specifies character sets for encoding the RussiaPaymentOrder payload. Windows-1251 encoding. UTF-8 encoding. KOI8-R encoding. Represents errors that occur during the generation of a RussiaPaymentOrder payload. Initializes a new instance of the class with a specified error message. The message that describes the error. Generates a ShadowSocks proxy config payload. Generates a ShadowSocks proxy config payload. Hostname of the ShadowSocks proxy Port of the ShadowSocks proxy Password of the SS proxy Encryption type Optional tag line Generates a ShadowSocks proxy config payload with plugin options. Hostname of the ShadowSocks proxy Port of the ShadowSocks proxy Password of the SS proxy Encryption type Plugin name Plugin option Optional tag line Generates a ShadowSocks proxy config payload with additional parameters. Hostname of the ShadowSocks proxy Port of the ShadowSocks proxy Password of the SS proxy Encryption type Additional parameters Optional tag line Converts the ShadowSocks config payload to a string. A string representation of the ShadowSocks config payload. Specifies the encryption methods used by ShadowSocks. ChaCha20-IETF with Poly1305 AEAD encryption method AES-128 Galois/Counter Mode (GCM) encryption method AES-192 Galois/Counter Mode (GCM) encryption method AES-256 Galois/Counter Mode (GCM) encryption method Extended ChaCha20-IETF with Poly1305 AEAD encryption method (non-standard) AES-128 Cipher Feedback (CFB) stream cipher AES-192 Cipher Feedback (CFB) stream cipher AES-256 Cipher Feedback (CFB) stream cipher AES-128 Counter (CTR) stream cipher AES-192 Counter (CTR) stream cipher AES-256 Counter (CTR) stream cipher Camellia-128 Cipher Feedback (CFB) stream cipher Camellia-192 Cipher Feedback (CFB) stream cipher Camellia-256 Cipher Feedback (CFB) stream cipher ChaCha20-IETF stream cipher Alias for AES-256 Cipher Feedback (CFB) stream cipher AES-128 Output Feedback (OFB) stream cipher (non-standard) AES-192 Output Feedback (OFB) stream cipher (non-standard) AES-256 Output Feedback (OFB) stream cipher (non-standard) AES-128 Cipher Feedback 1-bit (CFB1) stream cipher AES-192 Cipher Feedback 1-bit (CFB1) stream cipher AES-256 Cipher Feedback 1-bit (CFB1) stream cipher AES-128 Cipher Feedback 8-bit (CFB8) stream cipher AES-192 Cipher Feedback 8-bit (CFB8) stream cipher AES-256 Cipher Feedback 8-bit (CFB8) stream cipher ChaCha20 stream cipher (deprecated) Blowfish Cipher Feedback (CFB) stream cipher (deprecated) RC4-MD5 stream cipher (deprecated) Salsa20 stream cipher (deprecated) DES Cipher Feedback (CFB) stream cipher (not standard, not in active use) IDEA Cipher Feedback (CFB) stream cipher (not standard, not in active use) RC2 Cipher Feedback (CFB) stream cipher (not standard, not in active use) CAST5 Cipher Feedback (CFB) stream cipher (not standard, not in active use) Salsa20 Counter (CTR) stream cipher (not standard, not in active use) RC4 stream cipher (not standard, not in active use) SEED Cipher Feedback (CFB) stream cipher (not standard, not in active use) Table-based encryption method (not standard, not in active use) Represents errors that occur during the generation of a ShadowSocksConfig payload. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the error. The exception that is the cause of the current exception. Generates a Skype call payload Initializes a new instance of the class. Skype username which will be called Converts the Skype call payload to a string. A string representation of the Skype call payload. Generates a Slovenian UPN QR payment payload. Gets the version of the QR code, which is 15 for Slovenian UPN QR. Gets the error correction level of the QR code, which is M for Slovenian UPN QR. Gets the ECI mode of the QR code, which is Iso8859_2 for Slovenian UPN QR. Limits the length of a string to a specified maximum length. The string to limit. The maximum length of the string. The limited string. Initializes a new instance of the class. The name of the payer. The address of the payer. The place of the payer. The name of the recipient. The address of the recipient. The place of the recipient. The IBAN of the recipient. The description of the payment. The amount of the payment. The SI model of the recipient. The SI reference of the recipient. The code of the payment. Initializes a new instance of the class with a deadline. The name of the payer. The address of the payer. The place of the payer. The name of the recipient. The address of the recipient. The place of the recipient. The IBAN of the recipient. The description of the payment. The amount of the payment. The deadline for the payment. The SI model of the recipient. The SI reference of the recipient. The code of the payment. Formats the amount as a string with leading zeros. The amount to format. The formatted amount string. Calculates the checksum of the payment data. The checksum of the payment data. Returns the Slovenian UPN QR payment data as a string. The Slovenian UPN QR payment data as a string. Generates an SMS payload. Creates an SMS payload without text. Receiver phone number. Encoding type. Creates an SMS payload with text (subject). Receiver phone number. Text of the SMS. Encoding type. Returns the SMS payload as a string. The SMS payload as a string. Specifies the encoding type for the SMS payload. Standard SMS encoding. SMSTO encoding. SMS encoding for iOS. Generates the payload for a SwissQrCode. Generates the payload for a SwissQrCode v2.0. (Don't forget to use ECC-Level=M, EncodingMode=UTF-8 and to set the Swiss flag icon to the final QR code.) IBAN object Currency (either EUR or CHF) Creditor (payee) information Reference information Additional information for the QR code Debitor (payer) information Amount Requested date of debitor's payment Ultimate creditor information (use only in consultation with your bank - for future use only!) Optional command for alternative processing mode - line 1 Optional command for alternative processing mode - line 2 Represents additional information for the SwissQrCode. Creates an additional information object. Both parameters are optional and must be shorter than 141 chars in combination. Unstructured text message Bill information Gets the unstructured message. Gets the bill information. Gets the trailer. Represents exceptions specific to SwissQrCode additional information. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception. Represents reference information for the SwissQrCode. Creates a reference object which must be passed to the SwissQrCode instance Type of the reference (QRR, SCOR or NON) Reference text Type of the reference text (QR-reference or Creditor Reference) Gets the reference type. Gets the reference text. Reference type. When using a QR-IBAN you have to use either "QRR" or "SCOR". QR Reference Creditor Reference No Reference Represents the text type for the reference. QR Reference Text Creditor Reference ISO 11649 Represents exceptions specific to SwissQrCode references. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception. Represents an IBAN with type information. IBAN object with type information IBAN Type of IBAN (normal or QR-IBAN) Gets a value indicating whether this is a QR-IBAN. Converts the IBAN object to its string representation. A string representation of the IBAN. Represents the type of IBAN. Regular IBAN QR-IBAN Represents exceptions specific to SwissQrCode IBANs. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception. Represents contact information. Contact type. Can be used for payee, ultimate payee, etc. with address in structured mode (S). Last name or company (optional first name) Zip-/Postcode City name Two-letter country code as defined in ISO 3166-1 Streetname without house number House number Contact type. Can be used for payee, ultimate payee, etc. with address in combined mode (K). Last name or company (optional first name) Two-letter country code as defined in ISO 3166-1 Adress line 1 Adress line 2 Creates a contact with structured address. Creates a contact with combined address. Returns a string that represents the contact information in the format required for Swiss QR codes. A string representing the contact information. Defines the type of address. Structured Address Combined Address Represents errors that occur during the creation of a Swiss QR code contact. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference if no inner exception is specified. Returns a string that represents the entire Swiss QR code payload. A string representing the Swiss QR code payload. ISO 4217 currency codes. Swiss Franc Euro Represents errors that occur during Swiss QR Code generation. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference if no inner exception is specified. Generates a URL payload for QR codes. Initializes a new instance of the class. The target URL. If the protocol is not specified, the http protocol will be added. Returns the URL payload as a string. The URL payload as a string, ensuring it starts with "http://" if no protocol is specified. Generates a WhatsApp message payload for QR codes. Initializes a new instance of the class with a receiver number and message. Receiver phone number in full international format. Omit any zeroes, brackets, or dashes. Use format: 1XXXXXXXXXX. Don't use: +001-(XXX)XXXXXXX. The message to be sent. Initializes a new instance of the class with a message only. When scanned, the user is asked to choose a contact to receive the message. The message to be sent. Returns the WhatsApp message payload as a string. The WhatsApp message URL as a string. Generates a WiFi payload. Scanned by a QR Code scanner app, the device will connect to the WiFi. Initializes a new instance of the class. SSID of the WiFi network Password of the WiFi network Authentication mode (WEP, WPA, WPA2) Set flag if the WiFi network hides its SSID Set flag if ssid/password is delivered as HEX string. Note: May not be supported on iOS devices. Returns the WiFi payload as a string. Specifies the authentication mode for the WiFi network. WEP authentication mode WPA authentication mode No password authentication mode WPA2 authentication mode Represents a QR code generator that outputs QR codes as PDF byte arrays. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Creates a PDF document with a black and white QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Returns the QR code graphic as a PDF byte array. Creates a PDF document with specified colors and DPI. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. The DPI (dots per inch) of the PDF document. The JPEG quality parameter (obsolete, no longer used). Returns the QR code graphic as a PDF byte array. Creates a PDF path with rectangles for all dark modules in the QR code. Uses Run-Length Encoding (RLE) to combine adjoining dark modules in each row into single rectangles. PDF path commands as a string. Converts RGB byte array to PDF color space values (0.0 to 1.0). RGB color as byte array. PDF color string (three decimal values). Converts an integer to a string using invariant culture for consistent PDF formatting. The integer value to convert. String representation of the integer. Converts a float to a string using invariant culture for consistent PDF formatting. The float value to convert. String representation of the float. Provides static methods for creating PDF byte array QR codes. Creates a PDF byte array QR code with a single function call. The text or payload to be encoded inside the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. Returns the QR code graphic as a PDF byte array. Creates a PDF byte array QR code with a single function call. The text or payload to be encoded inside the QR code. The level of error correction data. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Returns the QR code graphic as a PDF byte array. Represents a QR code generator that outputs QR codes as PNG byte arrays. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Creates a black and white PNG of the QR code, using 1-bit grayscale. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a PNG byte array. Creates a 2-color PNG of the QR code, using 1-bit indexed color. Colors may contain transparency. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a PNG byte array. Creates a 2-color PNG of the QR code, using 1-bit indexed color. Accepts 3-byte RGB colors for normal images and 4-byte RGBA-colors for transparent images. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules as an RGBA byte array. The color of the light modules as an RGBA byte array. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a PNG byte array. Creates a bitmap where each pixel is represented by a single bit, dark = 0 and light = 1. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Indicates if quiet zones around the QR code should be drawn. Returns the bitmap as a byte array. Writes the chunks that make up a PNG file. See https://www.w3.org/TR/2003/REC-PNG-20031110 and https://www.ietf.org/rfc/rfc1950.txt. Writes the IHDR chunk. This must be the first chunk in the file. Writes the PLTE chunk, and also the tRNS chunk if necessary. Must come before the IDAT chunk. Writes the IDAT chunk with the actual picture. Writes the IEND chunk. This must be the last chunk in the file. Provides static methods for creating PNG byte array QR codes. Creates a PNG byte array QR code with a single function call. The text or payload to be encoded inside the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules as an RGBA byte array. The color of the light modules as an RGBA byte array. The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a PNG byte array. Creates a PNG byte array QR code with a single function call. The text or payload to be encoded inside the QR code. The level of error correction data. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a PNG byte array. Represents a QR code generator that outputs QR codes as PostScript code. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Creates a black and white PostScript code representation of the QR code. The number of points each dark/light module of the QR code will occupy in the final QR code image. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Creates a colored PostScript code representation of the QR code. The number of points each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. Indicates if quiet zones around the QR code should be drawn. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Creates a colored PostScript code representation of the QR code. The number of points each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. Indicates if quiet zones around the QR code should be drawn. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Creates a black and white PostScript code representation of the QR code. The dimensions of the viewbox for the QR code. Indicates if quiet zones around the QR code should be drawn. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Creates a colored PostScript code representation of the QR code. The dimensions of the viewbox for the QR code. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. Indicates if quiet zones around the QR code should be drawn. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Creates a colored PostScript code representation of the QR code. The dimensions of the viewbox for the QR code. The color of the dark modules. The color of the light modules. Indicates if quiet zones around the QR code should be drawn. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Cleans double values for international use/formats. The input double value. Returns the cleaned string representation of the double value, with a maximum of 7 significant digits. Provides static methods for creating PostScript QR codes. Creates a PostScript QR code with a single function call. The text or payload to be encoded inside the QR code. The number of points each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. Indicates if quiet zones around the QR code should be drawn. Indicates if the output should be in EPS format. Returns the QR code graphic as a PostScript string. Represents a QR code generator that outputs QR codes as bitmap images. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Creates a black and white bitmap image of the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. Returns the QR code graphic as a bitmap. Creates a colored bitmap image of the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HTML hex format. The color of the light modules in HTML hex format. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a bitmap. Creates a colored bitmap image of the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a bitmap. Creates a colored bitmap image of the QR code with an optional icon in the center. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. An optional icon to be placed in the center of the QR code. The size of the icon as a percentage of the QR code size. The width of the border around the icon. Indicates if quiet zones around the QR code should be drawn. The background color of the icon. Returns the QR code graphic as a bitmap. Creates a GraphicsPath containing rectangles for all dark modules in the QR code. Uses Run-Length Encoding (RLE) to combine adjoining dark modules in each row into single rectangles. The number of pixels per module. The offset to apply for quiet zones. Whether quiet zones are being drawn. A GraphicsPath containing all dark module rectangles. Creates a rounded rectangle path for drawing. The rectangle for which to create the rounded path. The radius of the corners. Returns the rounded rectangle path. Provides static methods for creating bitmap QR codes. Creates a bitmap QR code with a single function call. The text or payload to be encoded inside the QR code. The number of pixels each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules. The color of the light modules. The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. An optional icon to be placed in the center of the QR code. The size of the icon as a percentage of the QR code size. The width of the border around the icon. Indicates if quiet zones around the QR code should be drawn. Returns the QR code graphic as a bitmap. Represents the data structure of a QR code. Gets or sets the module matrix of the QR code. Initializes a new instance of the class with the specified version. The version of the QR code. Initializes a new instance of the class with the specified version and padding option. The version of the QR code. Indicates whether padding should be added to the QR code. Initializes a new instance of the class with raw data from a specified path and compression mode. The path to the raw data file. The compression mode used for the raw data. Initializes a new instance of the class with raw data and compression mode. The raw data of the QR code. The compression mode used for the raw data. Gets the raw data of the QR code with the specified compression mode. The compression mode used for the raw data. Returns the raw data of the QR code as a byte array. Saves the raw data of the QR code to a specified file with the specified compression mode. The path to the file where the raw data will be saved. The compression mode used for the raw data. Gets the version of the QR code. Gets the number of modules per side from the specified version. The version of the QR code (1 to 40, or -1 to -4 for Micro QR codes). Returns the number of modules per side. Releases all resources used by the . Specifies the compression mode used for the raw data. No compression. Deflate compression. GZip compression. Provides functionality to generate QR code data that can be used to create QR code images. Initializes the QR code generator Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. A payload object, generated by the PayloadGenerator-class Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. A payload object, generated by the PayloadGenerator-class The level of error correction data Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. The payload which shall be encoded in the QR code The level of error correction data Shall the generator be forced to work in UTF-8 mode? Should the byte-order-mark be used? Which ECI mode shall be used? Set fixed QR code target version. Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. A byte array which shall be encoded/stored in the QR code The level of error correction data Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. A payload object, generated by the PayloadGenerator-class Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. A payload object, generated by the PayloadGenerator-class The level of error correction data Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. The payload which shall be encoded in the QR code The level of error correction data Shall the generator be forced to work in UTF-8 mode? Should the byte-order-mark be used? Which ECI mode shall be used? Set fixed QR code target version. Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the Micro QR code data which then can be used in one of the rendering classes to generate a graphical representation. The payload which shall be encoded in the QR code The level of error correction data Set fixed Micro QR code target version; must be -1 to -4 representing M1 to M4, or 0 for default. Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Calculates the QR code data which than can be used in one of the rendering classes to generate a graphical representation. A byte array which shall be encoded/stored in the QR code The level of error correction data Thrown when the payload is too big to be encoded in a QR code. Returns the raw QR code data which can be used for rendering. Validates the specified error correction level. Returns the provided level if it is valid, or the level M if the provided level is Default. Throws an exception if an invalid level is provided. Generates a QR code data structure using the provided BitArray, error correction level, and version. The BitArray provided is assumed to already include the count, encoding mode, and/or ECI mode information. The BitArray containing the binary-encoded data to be included in the QR code. It should already contain the count, encoding mode, and/or ECI mode information. The desired error correction level for the QR code. This impacts how much data can be recovered if damaged. The version of the QR code, determining the size and complexity of the QR code data matrix. A QRCodeData structure containing the full QR code matrix, which can be used for rendering or analysis. Generates a BitArray containing the format string for a QR code based on the error correction level and mask pattern version. The format string includes the error correction level, mask pattern version, and error correction coding. The to write to, or null to create a new one. The version number of the QR Code (1-40, or -1 to -4 for Micro QR codes). The error correction level to be encoded in the format string. The mask pattern version to be encoded in the format string. A BitArray containing the 15-bit format string used in QR code generation. Encodes the version information of a QR code into a BitArray using error correction coding similar to format information encoding. This method is used for QR codes version 7 and above. A to write the version string to. The version number of the QR code (7-40). A BitArray containing the encoded version information, which includes error correction bits. Calculates the Error Correction Codewords (ECC) for a segment of data using the provided ECC information. This method applies polynomial division, using the message polynomial and a generator polynomial, to compute the remainder which forms the ECC codewords. Converts all polynomial item coefficients from their alpha exponent notation to decimal representation in place. This conversion facilitates operations that require polynomial coefficients in their integer forms. Determines the most efficient encoding mode for the given plain text based on its character content and a flag indicating whether to force UTF-8 encoding. Checks if a character falls within a specified range. Converts a segment of a BitArray representing QR code data into a polynomial, padding the final byte if necessary (for Micro QR variants like M1 or M3). The full bit array representing encoded QR code data. Starting position in the bit array. Total number of bits to convert into codewords. A polynomial representing the message codewords. Calculates the generator polynomial used for creating error correction codewords. The number of error correction codewords to generate. A polynomial that can be used to generate ECC codewords. Converts a segment of a BitArray into its decimal (integer) equivalent. The integer value that represents the specified binary data. Converts a decimal number to binary and stores the result in a BitArray starting from a specific index. The decimal number to convert to binary. The number of bits to use for the binary representation (ensuring fixed-width like 8, 16, 32 bits). The BitArray where the binary bits will be stored. The starting index in the BitArray where the bits will be stored. The next index in the BitArray after the last bit placed. Determines the number of bits used to indicate the count of characters in a segment, depending on the QR code version and the encoding mode. The version of the QR code, which influences the number of bits due to increasing data capacity. The encoding mode (e.g., Numeric, Alphanumeric, Byte) used for the data segment. The number of bits needed to represent the character count in the specified encoding mode and version. Calculates the data length based on the encoding mode, text content, and whether UTF-8 is forced. The encoding mode used for the QR code data. The plain text input to be encoded. A BitArray representing the binary data of the encoded text. Flag to determine if UTF-8 encoding should be enforced. The length of data in units appropriate to the encoding (bytes or characters). Checks if the given string can be accurately represented and retrieved in ISO-8859-1 encoding. Converts plain text to a binary format suitable for QR code generation, based on the specified encoding mode. The text to be encoded. The encoding mode. The ECI mode specifying the character encoding to use. Flag indicating whether to prepend a UTF-8 Byte Order Mark. Flag indicating whether UTF-8 encoding is forced. A BitArray containing the binary representation of the encoded data. Converts numeric plain text into a binary format specifically optimized for QR codes. Numeric compression groups up to 3 digits into 10 bits, less for remaining digits if they do not complete a group of three. The numeric text to be encoded, which should only contain digit characters. A BitArray representing the binary data of the encoded numeric text. Converts plain text into a binary format using byte mode encoding, which supports various character encodings through ECI (Extended Channel Interpretations). The text to be encoded. The ECI mode that specifies the character encoding to use. Specifies whether to include a Byte Order Mark (BOM) for UTF-8 encoding. Forces UTF-8 encoding regardless of the text content's compatibility with ISO-8859-1. A BitArray representing the binary data of the encoded text. The returned text is always encoded as ISO-8859-1 unless either the text contains a non-ISO-8859-1 character or UTF-8 encoding is forced. This does not meet the QR Code standard, which requires the use of ECI to specify the encoding when not ISO-8859-1. Converts an array of bytes into a BitArray, considering the proper bit order within each byte. Unlike the constructor of BitArray, this function preserves the MSB-to-LSB order within each byte. The byte array to convert into a BitArray. The number of leading zeros to prepend to the resulting BitArray. A BitArray representing the bits of the input byteArray, with optional leading zeros. Performs a bitwise XOR operation between two polynomials, commonly used in QR code error correction coding. The resultant polynomial after performing the XOR operation. Multiplies a generator polynomial by a leading term polynomial, reducing the result by a specified lower exponent, used in constructing QR code error correction codewords. Multiplies two polynomials, treating coefficients as exponents of a primitive element (alpha), which is common in error correction algorithms such as Reed-Solomon. The first polynomial to multiply. The second polynomial to multiply. A new polynomial which is the result of the multiplication of the two input polynomials. Represents the alignment pattern used in QR codes, which helps ensure the code remains readable even if it is somewhat distorted. Each QR code version has its own specific alignment pattern locations which this struct encapsulates. The version of the QR code. Higher versions have more complex and numerous alignment patterns. A list of points where alignment patterns are located within the QR code matrix. Each point represents the center of an alignment pattern. This class contains the alignment patterns used in QR codes. A lookup table mapping QR code versions to their corresponding alignment patterns. Retrieves the alignment pattern for a specific QR code version. Creates a lookup table mapping QR code versions to their corresponding alignment patterns. Alignment patterns are used in QR codes to help scanners accurately read the code at high speeds and when partially obscured. This table provides the necessary patterns based on the QR code version which dictates the size and complexity of the QR code. A dictionary where keys are QR code version numbers and values are AlignmentPattern structures detailing the positions of alignment patterns for each version. Encodes alphanumeric characters (0–9, A–Z (uppercase), space, $, %, *, +, -, period, /, colon) into a binary format suitable for QR codes. A dictionary mapping alphanumeric characters to their respective positions used in QR code encoding. This includes digits 0-9, uppercase letters A-Z, and some special characters. Creates a dictionary mapping alphanumeric characters to their respective positions used in QR code encoding. This includes digits 0-9, uppercase letters A-Z, and some special characters. A dictionary mapping each supported alphanumeric character to its corresponding value. Checks if a character is present in the alphanumeric encoding table. Converts alphanumeric plain text into a binary format optimized for QR codes. Alphanumeric encoding packs characters into 11-bit groups for each pair of characters, and 6 bits for a single remaining character if the total count is odd. The alphanumeric text to be encoded, which should only contain characters valid in QR alphanumeric mode. A BitArray representing the binary data of the encoded alphanumeric text. Provides QR code capacity and error correction data for each version and encoding mode. Used to determine how much data can be stored in a QR code and which version is required. A list containing detailed capacity information for each version of QR codes. The index in the capacity table corresponds to one less than the version number. A table containing the error correction capacities and data codeword information for different combinations of QR code versions and error correction levels. Retrieves the error correction information for a specific QR code version and error correction level. The version of the QR code (1 to 40, or -1 to -4 for M1 to M4). The desired error correction level (L, M, Q, or H). Do not supply . An object containing the total number of data codewords, ECC per block, block group details, and other parameters required for encoding error correction data. Retrieves the capacity information for a specific QR code version. The returned structure contains detailed data capacity values for each error correction level (L, M, Q, H) and encoding mode (Numeric, Alphanumeric, Byte, Kanji), indicating the maximum number of characters that can be stored in a QR code of the specified version under each configuration. The version of the QR code (1 to 40, or -1 to -4 for M1 to M4). A object containing data capacity details for all error correction levels and encoding modes for the specified version. Retrieves the number of remainder bits required for a specific QR code version. Remainder bits are added to the final bit stream to ensure proper alignment with byte boundaries, as required by the QR code specification. The version of the QR code (1 to 40, or -1 to -4 for M1 to M4). The number of remainder bits (0 to 7) that must be appended to the encoded bit stream. Determines the minimum QR code version required to encode a given amount of data with a specific encoding mode and error correction level. If no suitable version is found, it throws an exception indicating that the data length exceeds the maximum capacity for the given settings. The length of the data to be encoded. The encoding mode (e.g., Numeric, Alphanumeric, Byte). The error correction level (e.g., Low, Medium, Quartile, High). The minimum version of the QR code that can accommodate the given data and settings. Thrown when the data length exceeds the maximum capacity for the specified encoding mode and error correction level. Determines the minimum Micro QR code version required to encode a given amount of data with a specific encoding mode and error correction level. If no suitable version is found, it throws an exception indicating that the data length exceeds the maximum capacity for the given settings. The length of the data to be encoded. The encoding mode (e.g., Numeric, Alphanumeric, Byte). The error correction level (e.g., Default, Low, Medium, Quartile, High). The minimum version of the QR code (-1 to -4) that can accommodate the given data and settings. Thrown when the data length exceeds the maximum capacity for the specified encoding mode and error correction level. Generates a table containing the error correction capacities and data codeword information for different QR code versions and error correction levels. This table is essential for determining how much data can be encoded in a QR code of a specific version and ECC level, as well as how robust the QR code will be against distortions or obstructions. A list of ECCInfo structures, each representing the ECC data and capacities for different combinations of QR code versions and ECC levels. Generates a list containing detailed capacity information for various versions of QR codes. This table includes capacities for different encoding modes (numeric, alphanumeric, byte, etc.) under each error correction level. The capacity table is crucial for QR code generation, as it determines how much data each QR code version can store depending on the encoding mode and error correction level used. The index in the capacity table corresponds to one less than the version number. Represents a block of codewords in a QR code. QR codes are divided into several blocks for error correction purposes. Each block contains a series of data codewords followed by error correction codewords. Initializes a new instance of the CodewordBlock struct with specified arrays of code words and error correction (ECC) words. The offset of the data codewords within the main BitArray. Data codewords carry the actual information. The length in bits of the data codewords within the main BitArray. The array of error correction codewords for this block. These codewords help recover the data if the QR code is damaged. Gets the offset of the data codewords in the BitArray. Gets the length of the data codewords in the BitArray. Gets the error correction codewords associated with this block. Represents the error correction coding (ECC) information for a specific version and error correction level of a QR code. Initializes a new instance of the ECCInfo struct with specified properties. The version number of the QR code. The error correction level used in the QR code. The total number of data codewords for this version and error correction level. The number of error correction codewords per block. The number of blocks in group 1. The number of codewords in each block of group 1. The number of blocks in group 2, if any. The number of codewords in each block of group 2, if any. Initializes a new instance of the ECCInfo struct with specified properties for Micro QR codes. The version number of the QR code. The error correction level used in the QR code. The total number of data codewords for this version and error correction level. The total number of data bits for this version and error correction level. The number of error correction codewords per block. Gets the version number of the QR code. Gets the error correction level of the QR code. Gets the total number of data codewords for this version and error correction level. Gets the total number of data codewords for this version and error correction level. Gets the number of error correction codewords per block. Gets the number of blocks in group 1. Gets the number of codewords in each block of group 1. Gets the number of blocks in group 2, if any. Gets the number of codewords in each block of group 2, if any. Defines the levels of error correction available in QR codes. Each level specifies the proportion of data that can be recovered if the QR code is partially obscured or damaged. Default error correction level, which will select Level M (Medium) unless otherwise specified by the payload. Level M allows approximately 15% of data to be recovered, offering a balance between data capacity and error recovery. Level L: Low error correction (approximately 7% of data can be recovered). This level allows the highest data density. Level M: Medium error correction (approximately 15% of data can be recovered). Offers a balance between data capacity and error recovery. Level Q: Quartile error correction (approximately 25% of data can be recovered). More robust error correction at the cost of reduced data capacity. Level H: High error correction (approximately 30% of data can be recovered). Provides the highest level of error recovery, ideal for environments with high risk of data loss. Enumerates the Extended Channel Interpretation (ECI) modes used in QR codes to handle different character encoding standards. ECI mode allows QR codes to efficiently encode data using character sets other than the default ISO-8859-1. Default encoding mode (typically ISO-8859-1). Used when no ECI mode is explicitly specified. This mode is assumed in basic QR codes where no extended character sets are needed. Specifies the use of the ISO-8859-1 character set, covering most Western European languages. This mode explicitly sets the encoding to ISO-8859-1, which includes characters used in languages such as English, French, German, and Spanish. Specifies the use of the ISO-8859-2 character set, which is primarily used for Central and Eastern European languages. This includes characters used in languages such as Polish, Czech, Slovak, Hungarian, and Romanian. Specifies the use of UTF-8 encoding. UTF-8 can encode any Unicode character and is useful for QR codes that need to support multi-language content. Specifies the encoding modes for the characters in a QR code. Numeric encoding mode, which is used to encode numeric data (digits 0-9). Three characters are encoded into 10 bits. Alphanumeric encoding mode, which is used to encode alphanumeric characters (0-9, A-Z, space, and some punctuation). Two characters are encoded into 11 bits. Byte encoding mode, primarily using the ISO-8859-1 character set. Each character is encoded into 8 bits. When combined with ECI, it can be adapted to use other character sets. Kanji encoding mode, which is used to encode characters from the Shift JIS character set, primarily for Japanese Kanji and Kana characters. One character is encoded into 13 bits. This mode is not currently supported by QRCoder. Extended Channel Interpretation (ECI) mode, which specifies a character set via an 8-bit number followed by one of the other encoding modes. This allows adapting the byte encoding to accommodate various global text encodings. Represents a Galois field of 256 elements (GF(256)) used in finite field arithmetic, typically for error correction algorithms such as Reed-Solomon. Provides mappings between exponential and integer representations of field elements using a primitive element (α). The field is constructed with respect to a generator polynomial and used for efficient encoding and decoding operations. Retrieves the integer value from the Galois field that corresponds to a given exponent. This is used in Reed-Solomon and other error correction calculations involving Galois fields. Retrieves the exponent from the Galois field that corresponds to a given integer value. Throws an exception if the integer value is zero, as zero does not have a logarithmic representation in the field. Normalizes a Galois field exponent to ensure it remains within the bounds of the field's size. This is particularly necessary when performing multiplications in the field which can result in exponents exceeding the field's maximum. Struct that represents blocked modules using rectangles. Initializes a new instance of the struct with a specified size. The size of the blocked modules matrix. Adds a blocked module at the specified coordinates. The x-coordinate of the module. The y-coordinate of the module. Adds a blocked module defined by the specified rectangle. The rectangle that defines the blocked module. Checks if the specified coordinates are blocked. The x-coordinate to check. The y-coordinate to check. true if the coordinates are blocked; otherwise, false. Checks if the specified rectangle is blocked. The rectangle to check. true if the rectangle is blocked; otherwise, false. Places the version information on the QR code matrix for versions 7 and higher. Version information is encoded into two small rectangular areas near the bottom left and top right corners outside the timing patterns. The QR code data structure to modify. The bit array containing the version information. Indicates whether an offset should be applied to the version information placement. Places the format information on the QR code, encoding the error correction level and mask pattern used. The QR code data structure to modify. The bit array containing the format information. Specifies whether an offset should be applied. Applies the most effective mask pattern to the QR code based on minimizing the penalty score, which evaluates how well the pattern will work for QR scanners. The QR code data structure where the mask will be applied. The version of the QR code, which determines the size and complexity. List of rectangles representing areas that must not be overwritten. The error correction level of the QR code, which affects format string values. The index of the selected mask pattern. Places data bits into the QR code's module matrix following a specific pattern that navigates around blocked modules. The QR code data structure where the data bits are to be placed. The data bits to be placed within the QR code matrix. A list of rectangles representing areas within the QR code matrix that should not be modified because they contain other necessary information like format and version info. Reserves separator areas around the positioning patterns of a QR code to ensure that these crucial areas remain unmodified during data placement. The version of the QR code, which determines the number of finder patterns. The size of the QR code matrix. A list of rectangles representing areas that must not be overwritten. Reserves areas for version information on QR codes that are version 7 or higher. Also reserves space for format information. The size of the QR code matrix. The version number of the QR code, which determines the placement of version information. A list of rectangles representing areas that must not be overwritten. Places a dark module on the QR code matrix as per QR code specification, which requires a dark module at a specific position for all QR codes. The QR code data structure where the dark module is to be placed. The version number of the QR code, which determines the specific location of the dark module. A list of rectangles representing areas that must not be overwritten, updated to include the dark module. Places finder patterns on the QR code. Finder patterns are critical for QR code scanners to correctly orient and recognize the QR code. The QR code data structure where the finder patterns will be placed. A list of rectangles representing areas that must not be overwritten. This is updated with the areas occupied by the finder patterns. Places alignment patterns on the QR code matrix. Alignment patterns help ensure the scanner can correctly interpret the QR code at various scales and orientations. The QR code data structure where the alignment patterns will be placed. A list of points representing the centers of where alignment patterns should be placed. A list of rectangles representing areas that must not be overwritten. Updated with the areas occupied by alignment patterns. Places timing patterns in the QR code. Timing patterns are alternating dark and light modules that help scanners determine the coordinates of modules within the QR code. The QR code data structure where the timing patterns will be placed. A list of rectangles representing areas that must not be overwritten. Updated with the areas occupied by timing patterns. Provides static methods and properties to handle mask patterns used in QR code generation. Mask patterns are applied to QR codes to break up patterns in the data matrix that might confuse scanners. A dictionary mapping each mask pattern index to its corresponding function that calculates whether a given pixel should be masked. Mask pattern 1: (x + y) % 2 == 0 Applies a checkerboard mask on the QR code. Mask pattern 2: y % 2 == 0 Applies a horizontal striping mask on the QR code. Mask pattern 3: x % 3 == 0 Applies a vertical striping mask on the QR code. Mask pattern 4: (x + y) % 3 == 0 Applies a diagonal striping mask on the QR code. Mask pattern 5: ((y / 2) + (x / 3)) % 2 == 0 Applies a complex pattern mask on the QR code, mixing horizontal and vertical rules. Mask pattern 6: ((x * y) % 2 + (x * y) % 3) == 0 Applies a mask based on the product of x and y coordinates modulo 2 and 3. Mask pattern 7: (((x * y) % 2 + (x * y) % 3) % 2) == 0 Applies a mask based on a more complex function involving the product of x and y coordinates. Mask pattern 8: (((x + y) % 2) + ((x * y) % 3) % 2) == 0 Combines rules of checkers and complex multiplicative masks. Calculates a penalty score for a Micro QR code to evaluate the effectiveness of a mask pattern. A lower score indicates a QR code that is easier for decoders to read accurately. The QR code data structure to be evaluated. The total penalty score of the QR code. Calculates a penalty score for a QR code to evaluate the effectiveness of a mask pattern. A lower score indicates a QR code that is easier for decoders to read accurately. The score is the sum of four penalty rules applied to the QR code. The QR code data structure to be evaluated. The total penalty score of the QR code. Represents a 2D point with integer coordinates. Gets the X-coordinate of the point. Gets the Y-coordinate of the point. Initializes a new instance of the struct with specified X and Y coordinates. The X-coordinate of the point. The Y-coordinate of the point. Determines whether the specified is equal to the current . The to compare with the current . True if the specified has the same X and Y coordinates as the current ; otherwise, false. If this method which implements is not implemented, comparisons used by methods such as fall back to reflection, which causes heap allocations internally during the calls to . Represents a polynomial, which is a sum of polynomial terms. Initializes a new instance of the struct with a specified number of initial capacity for polynomial terms. The initial capacity of the polynomial items list. Adds a polynomial term to the polynomial. Removes the polynomial term at the specified index. Gets or sets a polynomial term at the specified index. Gets the number of polynomial terms in the polynomial. Removes all polynomial terms from the polynomial. Clones the polynomial, creating a new instance with the same polynomial terms. Sorts the collection of using a custom comparer function. A function that compares two objects and returns an integer indicating their relative order: less than zero if the first is less than the second, zero if they are equal, or greater than zero if the first is greater than the second. Returns a string that represents the polynomial in standard algebraic notation. Example output: "a^2*x^3 + a^5*x^1 + a^3*x^0", which represents the polynomial 2x³ + 5x + 3. Ensures that the polynomial has enough capacity to store the specified number of polynomial terms. Rents memory for the polynomial terms from a shared memory pool. Returns memory allocated for the polynomial terms back to a shared memory pool. Returns an enumerator that iterates through the polynomial terms. Value type enumerator for the struct. Represents an individual term of a polynomial, consisting of a coefficient and an exponent. For example, the term 3x² would be represented as a with a coefficient of 3 and an exponent of 2. Initializes a new instance of the struct with the specified coefficient and exponent. The coefficient of the polynomial term. For example, in the term 3x², the coefficient is 3. The exponent of the polynomial term. For example, in the term 3x², the exponent is 2. Gets the coefficient of the polynomial term. Gets the exponent of the polynomial term. Represents a rectangle defined by its top-left corner's coordinates, width, and height. Gets the X-coordinate of the top-left corner of the rectangle. Gets the Y-coordinate of the top-left corner of the rectangle. Gets the width of the rectangle. Gets the height of the rectangle. Initializes a new instance of the struct with the specified top-left corner coordinates, width, and height. The X-coordinate of the top-left corner of the rectangle. The Y-coordinate of the top-left corner of the rectangle. The width of the rectangle. The height of the rectangle. Represents version-specific information of a QR code. Initializes a new instance of the struct with a specific version number and its details. The version number of the QR code. Each version has a different module configuration. A list of detailed information related to error correction levels and capacity for each encoding mode. Gets the version number of the QR code. Each version number specifies a different size of the QR matrix. Gets a list of details about the QR code version, including the error correction levels and encoding capacities. Represents the detailed information about each error correction level and its corresponding capacities in different encoding modes for a specific version of a QR code. Initializes a new instance of the struct, detailing the error correction level and the capacity for each encoding mode. The error correction level, which determines how much of the code can be restored if the QR code gets damaged. A dictionary mapping each encoding mode to its capacity for the specific error correction level. Gets the error correction level of the QR code, influencing how robust the QR code is against errors and damage. Gets a dictionary that contains the capacities of different encoding modes under the specified error correction level. These capacities dictate how many characters can be encoded under each mode. Represents a QR code generator that outputs QR codes as SVG images. Initializes a new instance of the class. Constructor without parameters to be used in COM objects connections. Initializes a new instance of the class with the specified . generated by the QRCodeGenerator. Returns a scalable QR code as an SVG string. Returns the QR code graphic as an SVG string. Returns a QR code as an SVG string. The pixel size each dark/light module is drawn. Returns the QR code graphic as an SVG string. Returns a QR code as an SVG string with custom colors, optional quiet zones, and an optional logo. The pixel size each dark/light module is drawn; applicable only when is . The color of the dark modules. The color of the light modules. If true, a white border is drawn around the entire QR code. Defines whether width/height or viewBox should be used for size definition. An optional logo to be rendered on the code (either Bitmap or SVG). Returns the QR code graphic as an SVG string. Returns a QR code as an SVG string with custom colors (in HEX syntax), optional quiet zones, and an optional logo. The pixel size each dark/light module is drawn; applicable only when is . The color of the dark/black modules in HEX format (e.g., #000000). The color of the light/white modules in HEX format (e.g., #ffffff). If true, a white border is drawn around the entire QR code. Defines whether width/height or viewBox should be used for size definition. An optional logo to be rendered on the code (either Bitmap or SVG). Returns the QR code graphic as an SVG string. Returns a QR code as an SVG string with optional quiet zones and an optional logo. The width and height for the SVG when is ; unused otherwise. If true, a white border is drawn around the entire QR code. Defines whether width/height or viewBox should be used for size definition. An optional logo to be rendered on the code (either Bitmap or SVG). Returns the QR code graphic as an SVG string. Returns a QR code as an SVG string with custom colors and optional quiet zones and an optional logo. The width and height for the SVG when is ; unused otherwise. The color of the dark modules. The color of the light modules. If true, a white border is drawn around the entire QR code. Defines whether width/height or viewBox should be used for size definition. An optional logo to be rendered on the code (either Bitmap or SVG). Returns the QR code graphic as an SVG string. Returns a QR code as an SVG string with custom colors (in HEX syntax), optional quiet zones, and an optional logo. The width and height for the SVG when is ; unused otherwise. The color of the dark/black modules in HEX format (e.g., #000000). The color of the light/white modules in HEX format (e.g., #ffffff). If true, a white border is drawn around the entire QR code. Defines whether width/height or viewBox should be used for size definition. An optional logo to be rendered on the code (either Bitmap or SVG). Returns the QR code graphic as an SVG string. Determines if a module at (x,y) is blocked by the logo area defined by attr. Calculates the logo's position and size within the QR code based on the specified percentage size. Gets the transparency value (0-255) from a color string. The color string in hex format (e.g., #RRGGBB, #RRGGBBAA) or the literal "transparent". The alpha/transparency value from 0 (fully transparent) to 255 (fully opaque). Returns 255 for colors without alpha channel. Determines if a color string represents a partially transparent color. The color string in hex format (e.g., #RRGGBB, #RRGGBBAA) or the literal "transparent". True if the color is transparent; otherwise false. Determines if a color string represents a fully transparent color. The color string in hex format (e.g., #RRGGBB, #RRGGBBAA) or the literal "transparent". True if the color is fully transparent; otherwise false. Converts a Color to a hex string in #RGB, #RRGGBB or #RRGGBBAA format; or 'transparent' for fully transparent colors. The color to convert. A hex string representation of the color. Mode of sizing attribute on SVG root node Specifies width and height attributes for SVG sizing Width and height are not included within the SVG tag; viewBox is scaled to fit the container Represents a logo graphic that can be rendered on a SvgQRCode Create a logo object to be used in SvgQRCode renderer Logo to be rendered as Bitmap/rasterized graphic Degree of percentage coverage of the QR code by the logo If true, the background behind the logo will be cleaned Create a logo object to be used in SvgQRCode renderer Logo to be rendered as SVG/vectorized graphic/string Degree of percentage coverage of the QR code by the logo If true, the background behind the logo will be cleaned If true, the logo will embedded as native svg instead of embedding it as image-tag Create a logo object to be used in SvgQRCode renderer Logo to be rendered as PNG Degree of percentage coverage of the QR code by the logo If true, the background behind the logo will be cleaned Returns the raw logo's data Defines, if the logo shall be natively embedded. true=native svg embedding, false=embedding via image-tag Returns the media type of the logo Returns the logo as data-uri Returns how much of the QR code should be covered by the logo (in percent) Returns if the background of the logo should be cleaned (no QR modules will be rendered behind the logo) Media types for SvgLogos Portable Network Graphics (PNG) image format Scalable Vector Graphics (SVG) image format Provides static methods for creating SVG QR codes. Creates an SVG QR code with a single function call. The text or payload to be encoded inside the QR code. The pixel size each dark/light module of the QR code will occupy in the final QR code image. The color of the dark modules in HEX format (e.g., #000000). The color of the light modules in HEX format (e.g., #ffffff). The level of error correction data. Specifies whether the generator should be forced to work in UTF-8 mode. Specifies whether the byte-order-mark should be used. Specifies which ECI mode should be used. Sets the fixed QR code target version. Indicates if quiet zones around the QR code should be drawn. Defines whether width/height or viewBox should be used for size definition. An optional logo to be rendered on the code (either Bitmap or SVG). Returns the QR code graphic as an SVG string. Specifies that when a method returns System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue, the parameter will not be null even if the corresponding type allows it. Initializes the attribute with the specified return value condition. If the method returns this value, the associated parameter will not be null. Gets the return value condition. If the method returns this value, the associated parameter will not be null.