C# Класс afeprojectname.luginclassname

Наследование: IZooPlugin
Показать файл Открыть проект

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

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

Returns the address of your company or organization. Use a "\r\n" character combination to separate lines. (e.g. "3670 Woodland Park Avenue North\r\nSeattle, WA 98115")

Country ( ) : string

Returns the country in which your company or organization is located. (e.g. "United States")

Email ( ) : string

Returns an email address that a customer can use to contact you. (e.g. "[email protected]")

Fax ( ) : string

Returns a FAX number that a customer can use to contact you. (e.g. "(206) 545-7321")

FormatErrorMessage ( int messageID, System locale ) : string

Looks up a human-readable, properly localized error message for logging and display purposes.

Organization ( ) : string

Returns the name of your company or organization. (e.g. "Robert McNeel and Associates")

Phone ( ) : string

Returns a phone number that a customer can use to contact you. (e.g. "(206) 545-7000")

ProductTitle ( ) : string

Returns the name, version, and/or type of the product that this plug-in validates. This string will appear in user interfaces were one can choose type type of license to validate.

RhinoPluginId ( ) : System.Guid

Returns your unique identifier, or PlugInId, of your Rhino plug-in. If this does not return the same guid as your Rhino plug-in, then it will not be able to obtain a license from the Zoo.

ValidateProductKey ( string productKey, ZooPluginLicenseData &licenseData ) : int

Validates a product, or CD, key that was entered into the Zoo administrator console, and returns license data. This data will, in turn, be serialized, maintained, and distributed by the Zoo.

ValidateProductKeyUI ( string productKey, string &validatedKey ) : int

We do not need to show any UI. If we wanted to, we could show it here before the key is passed over to ValidateProductKey.

Web ( ) : string

Returns the web address or url of your company or organization. (e.g. "http://www.rhino3d.com")

ZooPluginId ( ) : System.Guid

Returns a guid that uniquely identifies this Zoo plug-in class.

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

Метод Описание
Scramble ( string input ) : string

Randomizes character positions in string

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

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

Returns the address of your company or organization. Use a "\r\n" character combination to separate lines. (e.g. "3670 Woodland Park Avenue North\r\nSeattle, WA 98115")
public Address ( ) : string
Результат string

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

Returns the country in which your company or organization is located. (e.g. "United States")
public Country ( ) : string
Результат string

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

Returns an email address that a customer can use to contact you. (e.g. "[email protected]")
public Email ( ) : string
Результат string

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

Returns a FAX number that a customer can use to contact you. (e.g. "(206) 545-7321")
public Fax ( ) : string
Результат string

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

Looks up a human-readable, properly localized error message for logging and display purposes.
public FormatErrorMessage ( int messageID, System locale ) : string
messageID int /// MessageID is a plug-in specific ID that is returned when ValidateProductKey /// fails to validate the key. ///
locale System /// The CultureInfo associated with the currently running process; use this info /// to localize your error messages appropriately. ///
Результат string

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

Returns the name of your company or organization. (e.g. "Robert McNeel and Associates")
public Organization ( ) : string
Результат string

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

Returns a phone number that a customer can use to contact you. (e.g. "(206) 545-7000")
public Phone ( ) : string
Результат string

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

Returns the name, version, and/or type of the product that this plug-in validates. This string will appear in user interfaces were one can choose type type of license to validate.
public ProductTitle ( ) : string
Результат string

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

Returns your unique identifier, or PlugInId, of your Rhino plug-in. If this does not return the same guid as your Rhino plug-in, then it will not be able to obtain a license from the Zoo.
public RhinoPluginId ( ) : System.Guid
Результат System.Guid

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

Validates a product, or CD, key that was entered into the Zoo administrator console, and returns license data. This data will, in turn, be serialized, maintained, and distributed by the Zoo.
public ValidateProductKey ( string productKey, ZooPluginLicenseData &licenseData ) : int
productKey string /// The product, or CD, key to validate. This is the raw, unmodified product key /// string as entered into the Zoo Administrator console. ///
licenseData ZooPluginLicenseData /// If productKey represents a valid license for your product, then licenseData /// should be filled in with information about the license. ///
Результат int

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

We do not need to show any UI. If we wanted to, we could show it here before the key is passed over to ValidateProductKey.
public ValidateProductKeyUI ( string productKey, string &validatedKey ) : int
productKey string The product, or CD, key to validate. /// This is the raw, unmodified product key string as entered into the /// Zoo Administrator console.
validatedKey string The modified productKey string. /// Again, in most cases you will set validatedKey equal productKey. /// This value will be passed to ValidateProductKey().
Результат int

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

Returns the web address or url of your company or organization. (e.g. "http://www.rhino3d.com")
public Web ( ) : string
Результат string

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

Returns a guid that uniquely identifies this Zoo plug-in class.
public ZooPluginId ( ) : System.Guid
Результат System.Guid