R
Rainer Sinsch
Hi everyone,
I'm relatively new to managed c++ (though experienced in unmanaged c++), but
I just can't figure out how to do the following c-sharp lines in managed c++
(studio 2003). Can anyone enlighten me, please?
Following is a simple C-Sharp-Source for reading out wireless lan
signal-strength:
using System;
using System.Management;
class App
{
public static void Main()
{
ManagementObjectSearcher searcher = new ManagementObjectSearcher(
@"root\WMI",
"select Ndis80211ReceivedSignalStrength from
MSNdis_80211_ReceivedSignalStrength where active=true");
foreach (ManagementObject mo in searcher.Get())
{
Console.WriteLine("{0}",mo["Ndis80211ReceivedSignalStrength"]);
}
}
}
Thanks in advance
Rainer Sinsch
I'm relatively new to managed c++ (though experienced in unmanaged c++), but
I just can't figure out how to do the following c-sharp lines in managed c++
(studio 2003). Can anyone enlighten me, please?
Following is a simple C-Sharp-Source for reading out wireless lan
signal-strength:
using System;
using System.Management;
class App
{
public static void Main()
{
ManagementObjectSearcher searcher = new ManagementObjectSearcher(
@"root\WMI",
"select Ndis80211ReceivedSignalStrength from
MSNdis_80211_ReceivedSignalStrength where active=true");
foreach (ManagementObject mo in searcher.Get())
{
Console.WriteLine("{0}",mo["Ndis80211ReceivedSignalStrength"]);
}
}
}
Thanks in advance
Rainer Sinsch