Y
Yoshitha
HI
Am trying to retrieve the cpuid of the system from web application and am
geting the followng exception can anybody tell me how to solve this problem
its very urgent for me
i got error in the follwoing line of code
Dim moc As ManagementObjectCollection = mc.GetInstances()
Exception Details:
System.Management.ManagementException: Access denied Source Error:
Line 105: Dim temp As String = String.Empty Line 106: Dim mc
As ManagementClass = New ManagementClass("Win32_Processor") Line 107:
Dim moc As ManagementObjectCollection = mc.GetInstances() Line 108:
Dim mo As ManagementObject Line 109: For Each mo In moc Line 105:
Dim temp As String = String.Empty Line 106: Dim mc As ManagementClass
= New ManagementClass("Win32_Processor") Line 107: Dim moc As
ManagementObjectCollection = mc.GetInstances() Line 108: Dim mo As
ManagementObject Line 109: For Each mo In moc Line 105: Dim
Thanx in advance
Yoshitha
Am trying to retrieve the cpuid of the system from web application and am
geting the followng exception can anybody tell me how to solve this problem
its very urgent for me
i got error in the follwoing line of code
Dim moc As ManagementObjectCollection = mc.GetInstances()
Exception Details:
System.Management.ManagementException: Access denied Source Error:
Line 105: Dim temp As String = String.Empty Line 106: Dim mc
As ManagementClass = New ManagementClass("Win32_Processor") Line 107:
Dim moc As ManagementObjectCollection = mc.GetInstances() Line 108:
Dim mo As ManagementObject Line 109: For Each mo In moc Line 105:
Dim temp As String = String.Empty Line 106: Dim mc As ManagementClass
= New ManagementClass("Win32_Processor") Line 107: Dim moc As
ManagementObjectCollection = mc.GetInstances() Line 108: Dim mo As
ManagementObject Line 109: For Each mo In moc Line 105: Dim
Thanx in advance
Yoshitha