Startup ProductNameToKey Method Cognex VisionPro 9.21 SR1
Return the product key associated with the product name.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Startup.Net (in Cognex.Vision.Startup.Net.dll) Version: 9.21.1.1
Syntax

public static Startup ProductKey ProductNameToKey(
	string name
)

Parameters

name
Type: System String
is a string which matches a product name.

Return Value

Type: Startup ProductKey
The ProductKey for the name.
Exceptions

ExceptionCondition
ArgumentException Thrown if the code is not recognized.
See Also