/************************************************************************************************** * Function Name: GetSDKVersions * * Purpose: Retrieves the versions of the Printer and Graphics SDKs. * * Parameters: None * * Returns: None * * History: * Date Who Comment * 12/8/2010 ACT Function creation. ***************************************************************************************************/ private void GetSDKVersions() { try { _graphicsSDKVersion = _theGraphicsSDK.GetGraphicsSDKVersion(); _prnSDKVersion = _thePrinterSDK.GetPrinterSDKVersion(); } catch (Exception ex) { MessageBox.Show(ex.ToString(), "GetSDKVersions threw exception"); } }
// Gets the DLL version for the SDK ----------------------------------------------------------------- public string GetSDKVersion() { ZBRPrinter prn = null; string version = ""; try { prn = new ZBRPrinter(); version = prn.GetPrinterSDKVersion(); } catch (Exception ex) { version = ex.ToString(); } finally { prn = null; } return(version); }