NWGetNetWareProductVersion
Returns the NetWare product version.
#include <nwserver.h> or #include <nwcalls.h> NWCCODE N_API NWGetNetWareProductVersion ( NWCONN_HANDLE conn, NETWARE_PRODUCT_VERSION N_FAR *version);
uses calwin32 Function NWGetNetWareProductVersion (conn : NWCONN_HANDLE; Var version : NETWARE_PRODUCT_VERSION ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
Console operator rights and an authenticated connection are NOT necessary to call NWGetNetWareProductVersion; you only need an attachment.
NWGetNetWareProductVersion supports all versions of NetWare servers, and is run on all supported platforms. Prior to NetWare 5.1, the version returned will be the OS version or the server version; however, starting with NetWare 5.1 these might not be the same because the OS does not always change with the release of a new product version of NetWare.
If you use the version command on the server console, the Novell NetWare version returned is equivalent to the product version (NetWare 5.1 and greater) or the OS version (prior to NetWare 5.1) returned from the NWGetNetWareProductVersion call. The Server Version returned from the version command on the server console is equivalent to the server version returned from the NWGetFileServerVersionInfo call or the OS version returned from the NWGetOSVersionInfo call. The server version and the OS version are the same.