C# Class Subtext.Web.Controls.Captcha.CaptchaInfo

Datei anzeigen Open project: ayende/Subtext Class Usage Examples

Public Properties

Property Type Description
DateGenerated System.DateTime
FontFamily string
Height int
WarpFactor CaptchaImage.FontWarpFactor
Width int

Public Methods

Method Description
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.

Private Methods

Method Description
GenerateRandomText ( ) : string
RandomFontFamily ( ) : string

Returns a random font family name.

Method Details

CaptchaInfo() public method

Initializes a new instance of the CaptchaInfo class.
public CaptchaInfo ( string text ) : System
text string The text.
return System

FromEncryptedString() public static method

Reconstructs an instance of this type from an encrypted serialized string.
public static FromEncryptedString ( string encrypted ) : CaptchaInfo
encrypted string
return CaptchaInfo

ToEncryptedString() public method

Returns a base 64 encrypted serialized representation of this object.
public ToEncryptedString ( ) : string
return string

ToString() public method

Returns the fully qualified type name of this instance.
public ToString ( ) : string
return string

Property Details

DateGenerated public_oe property

public DateTime,System DateGenerated
return System.DateTime

FontFamily public_oe property

public string FontFamily
return string

Height public_oe property

public int Height
return int

WarpFactor public_oe property

public CaptchaImage.FontWarpFactor WarpFactor
return CaptchaImage.FontWarpFactor

Width public_oe property

public int Width
return int