Added a simple button to the page. When the user clicks on the button, we invoke fnAddRows where we get user input from product controls and add them to a HTML table tblProducts. Run the application and you would see the following page Enter product attributes in the input controls as shown below: Click on […]
Clicking on DeleteAll link will clear all rows from table.
Printer properties can be retrieved using WMI. “Local” property will tell us if it is a network printer or a local printer.
List of Properties: Data Type Property Name uint32 Attributes uint32 Attributes uint16 Availability string AvailableJobSheets uint32 AveragePagesPerMinute uint16 Capabilities string CapabilityDescriptions string Caption string CharSetsSupported string Comment uint32 ConfigManagerErrorCode uint32 ConfigManagerUserConfig string CreationClassName uint16 CurrentCapabilities string CurrentCharSet uint16 CurrentLanguage string […]
We could simply use Network Information API and query all the network devices configuration properties. This article would explain How to get Local IP Address in C#.