Macromedia flash media server 2-server-side actionscript language reference ユーザーズマニュアル

ページ / 74
getLicenseInfo()
37
getLicenseInfo()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getLicenseInfo()
Parameters 
None.
Returns
If the call succeeds, the server sends a reply information object with a 
level
 property of 
status
, a 
code
 property of 
NetConnection.Call.Success
, and a 
data
 property that is an 
object. The 
data
 object has the following properties: 
Property Description
name
String; product name, for example, Flash Media Server.
version
String; version number, for example, 1.0.
build
String; build number.
copyright
String; copyright information.
key
String; license key that is set in the Server.xml file.
If you have more than one license key, this string is a concatenation of 
all your valid license keys, delimited by semicolons (;).
type
Number; type of license. If you have multiple licenses, they must have 
the same type number. Possible values are shown here: 
0=Commercial
1=Educational
family
Number; license family, which determines the value of other properties. 
If you have multiple licenses, they must have the same family number. 
Possible values are shown here: 
0=Personal
1=Professional
edition
Number; edition, for example, single, trial, beta, unlimited, and so on. If 
you have multiple licenses, they must have the same edition number.