C# 클래스 afeprojectname.luginclassname

상속: IZooPlugin
파일 보기 프로젝트 열기: mcneel/RhinoCommonTemplatePackage

공개 메소드들

메소드 설명
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