[ the jinxbot project :: home | community forum | bn# | controls | mbncsutil | get the source ]
Assembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Gets the current "version byte" for the specified product.
Namespace:
MBNCSUtilAssembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Syntax
| C# |
|---|
[ObsoleteAttribute("Use of the MBNCSUtil web service for retrieving version bytes is no longer possible.", true)] public static byte GetVersionByte( string productID ) |
| Visual Basic (Declaration) |
|---|
<ObsoleteAttribute("Use of the MBNCSUtil web service for retrieving version bytes is no longer possible.", _ True)> _ Public Shared Function GetVersionByte ( _ productID As String _ ) As Byte |
| Visual C++ |
|---|
[ObsoleteAttribute(L"Use of the MBNCSUtil web service for retrieving version bytes is no longer possible.", true)] public: static unsigned char GetVersionByte( String^ productID ) |
Parameters
- productID
- Type: System..::.String
The four-character product ID for the product in question.
Return Value
The version byte of the product.
Remarks
Only the following product IDs can be used with the web service: STAR, SEXP, W2BN, D2DV, D2XP, WAR3, and W3XP. Other product IDs will result an a NotSupportedException being thrown.
This method is new and currently in testing. W2BN, D2DV, and D2XP are currently unsupported.
Exceptions
| Exception | Condition |
|---|---|
| System..::.NotSupportedException | Thrown in all cases. |