QRCodeConsoleRenderer Class

Provides methods to render a QR code using Unicode block characters.

public static class QRCodeConsoleRenderer

Methods

NameDescription
ToConsoleString(QRCode)Renders the QR code as a string using Unicode block characters with default options.
ToConsoleString(QRCode, QRCodeConsoleOptions)Renders the QR code as a string using Unicode block characters.
WriteTo(QRCode, TextWriter)Renders the QR code to a TextWriter using Unicode block characters with default options.
WriteTo(QRCode, TextWriter, QRCodeConsoleOptions)Renders the QR code to a TextWriter using Unicode block characters.
WriteToConsole(QRCode)Renders the QR code to Console.Out with default options.
WriteToConsole(QRCode, QRCodeConsoleOptions)Renders the QR code to Console.Out with the specified options.

ToConsoleString overloads

ToConsoleString(QRCode)

QRCodeConsoleRenderer.cs

Renders the QR code as a string using Unicode block characters with default options.

public static string ToConsoleString(this QRCode qrCode)
Parameters
qrCode QRCode
Returns

string

ToConsoleString(QRCode, QRCodeConsoleOptions)

QRCodeConsoleRenderer.cs

Renders the QR code as a string using Unicode block characters.

public static string ToConsoleString(this QRCode qrCode, QRCodeConsoleOptions options)
Parameters
qrCode QRCode
options QRCodeConsoleOptions
Returns

string

WriteTo overloads

WriteTo(QRCode, TextWriter)

QRCodeConsoleRenderer.cs

Renders the QR code to a TextWriter using Unicode block characters with default options.

public static void WriteTo(this QRCode qrCode, TextWriter writer)
Parameters
qrCode QRCode
writer TextWriter

WriteTo(QRCode, TextWriter, QRCodeConsoleOptions)

QRCodeConsoleRenderer.cs

Renders the QR code to a TextWriter using Unicode block characters.

public static void WriteTo(this QRCode qrCode, TextWriter writer, QRCodeConsoleOptions options)
Parameters
qrCode QRCode
writer TextWriter
options QRCodeConsoleOptions

WriteToConsole overloads

WriteToConsole(QRCode)

QRCodeConsoleRenderer.cs

Renders the QR code to Console.Out with default options.

public static void WriteToConsole(this QRCode qrCode)
Parameters
qrCode QRCode

WriteToConsole(QRCode, QRCodeConsoleOptions)

QRCodeConsoleRenderer.cs

Renders the QR code to Console.Out with the specified options.

public static void WriteToConsole(this QRCode qrCode, QRCodeConsoleOptions options)
Parameters
qrCode QRCode
options QRCodeConsoleOptions