IOHelperGetAssemblyFileVersion Method |
Gets an
Assembly object's file version in the format required by SOLO Server.
Namespace: com.softwarekey.Client.UtilsAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax public static string GetAssemblyFileVersion(
Assembly assembly
)
Public Shared Function GetAssemblyFileVersion (
assembly As Assembly
) As String
public:
static String^ GetAssemblyFileVersion(
Assembly^ assembly
)
Parameters
- assembly
- Type: System.ReflectionAssembly
The Assembly from which the file version number will be retrieved.
Return Value
Type:
StringReturns a string containing the assembly's file version number, or an empty string if the version
could not be found, parsed, or is in a format not compatible with SOLO Server's required format (X.X.X.X,
where X is an integer value between 0 and 99999).
See Also