C# Class CSReportDll.cPrintWMI

显示文件 Open project: javiercrowsoft/CSReports.net

Public Methods

Method Description
getPrinterConfigInfoFromWMI ( string printerName ) : object
getPrinterConfigInfoValueFromWMI ( string propertyName, object printerInfo, object defaultValue ) : object
getPrinterConfigInfoValueFromWMI ( string printerName, string propertyName, object defaultValue ) : object
getPrinterInfoFromWMI ( string printerName ) : object
getPrinterInfoValueFromWMI ( string propertyName, object printerInfo, object defaultValue ) : object
getPrinterInfoValueFromWMI ( string printerName, string propertyName, object defaultValue ) : object

Private Methods

Method Description
getInfoFromWMI ( string tableName, string objectName ) : object

Method Details

getPrinterConfigInfoFromWMI() public static method

public static getPrinterConfigInfoFromWMI ( string printerName ) : object
printerName string
return object

getPrinterConfigInfoValueFromWMI() public static method

public static getPrinterConfigInfoValueFromWMI ( string propertyName, object printerInfo, object defaultValue ) : object
propertyName string
printerInfo object
defaultValue object
return object

getPrinterConfigInfoValueFromWMI() public static method

public static getPrinterConfigInfoValueFromWMI ( string printerName, string propertyName, object defaultValue ) : object
printerName string
propertyName string
defaultValue object
return object

getPrinterInfoFromWMI() public static method

public static getPrinterInfoFromWMI ( string printerName ) : object
printerName string
return object

getPrinterInfoValueFromWMI() public static method

public static getPrinterInfoValueFromWMI ( string propertyName, object printerInfo, object defaultValue ) : object
propertyName string
printerInfo object
defaultValue object
return object

getPrinterInfoValueFromWMI() public static method

public static getPrinterInfoValueFromWMI ( string printerName, string propertyName, object defaultValue ) : object
printerName string
propertyName string
defaultValue object
return object