C# Класс Subtext.Web.Controls.Captcha.CaptchaInfo

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DateGenerated System.DateTime
FontFamily string
Height int
WarpFactor CaptchaImage.FontWarpFactor
Width int

Открытые методы

Метод Описание
CaptchaInfo ( string text ) : System

Initializes a new instance of the CaptchaInfo class.

FromEncryptedString ( string encrypted ) : CaptchaInfo

Reconstructs an instance of this type from an encrypted serialized string.

ToEncryptedString ( ) : string

Returns a base 64 encrypted serialized representation of this object.

ToString ( ) : string

Returns the fully qualified type name of this instance.

Приватные методы

Метод Описание
GenerateRandomText ( ) : string
RandomFontFamily ( ) : string

Returns a random font family name.

Описание методов

CaptchaInfo() публичный Метод

Initializes a new instance of the CaptchaInfo class.
public CaptchaInfo ( string text ) : System
text string The text.
Результат System

FromEncryptedString() публичный статический Метод

Reconstructs an instance of this type from an encrypted serialized string.
public static FromEncryptedString ( string encrypted ) : CaptchaInfo
encrypted string
Результат CaptchaInfo

ToEncryptedString() публичный Метод

Returns a base 64 encrypted serialized representation of this object.
public ToEncryptedString ( ) : string
Результат string

ToString() публичный Метод

Returns the fully qualified type name of this instance.
public ToString ( ) : string
Результат string

Описание свойств

DateGenerated публичное свойство

public DateTime,System DateGenerated
Результат System.DateTime

FontFamily публичное свойство

public string FontFamily
Результат string

Height публичное свойство

public int Height
Результат int

WarpFactor публичное свойство

public CaptchaImage.FontWarpFactor WarpFactor
Результат CaptchaImage.FontWarpFactor

Width публичное свойство

public int Width
Результат int