Home
This Week
Top Month
Top Alltime
Search
Register
FAQ
Submit Your Link
Please login to submit your Link
C++ Q&A: CD Burning and Device Discovery with IMAPI
Posted:
Mar/16/2004
By:
pankaj
Points:
15
Category:
.NET
-
.NET Framework
Views:
75
Vote Up
(0)
Vote Down
(0)
Paul DiLasciaMSDN Magazine April 2004
View Complete Post
Comments:
Be the first to comment this post.
Post Comment
Please login to post your comment
More Related Resources
Foundations: Discover a New WCF with Discovery
Juval Lowy explains how the industry-standard discovery solution enables clients to discover available addresses for WCF calls at runtime, and he provides tools and helper classes to simplify the process.Juval LowyMSDN Magazine January 2010
Going Places: Mobile Device Provisioning With SyncML
OMA Device Management (OMA-DM), based on a dialect of XML called SyncML, can be used to provision and manage mobile devices in an enterprise scenario. We'll show you how.Ramon ArjonaMSDN Magazine February 2009
Concurrent Affairs: Asynchronous Device Operations
Jeff Richter uses the AsyncResult class to implement the CLR's Asynchronous Programming Model to perform hardware device operations asynchronously.Jeffrey RichterMSDN Magazine June 2007
Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere
If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.Paul Yao and David DurantMSDN Magazine November 2002
Web Q&A: Mobile Internet Toolkit versus Smart Device Extensions, SSL Glitch Again, and More
Edited by Nancy MichellMSDN Magazine November 2002
Serial Comm: Use P/Invoke to Develop a .NET Base Class Library for Serial Device Communications
Out-of-the-box, the only way of coding RS232 serial communications applications in the .NET environment is to import the outdated and somewhat limited MSComm ActiveX control. This article describes the development of a lean, multithreaded, and modern RS232 base class library in C# managed code. The library uses Platform Invocation Services to interact with the Win32 API directly. Application programmers can use the library from any .NET language through inheritance; the article explores examples written in C# and Visual Basic .NET.John HindMSDN Magazine October 2002
The XML Files: Dynamic Discovery in .NET, Codebehind, WebService Inheritance, and More
Aaron SkonnardMSDN Magazine August 2002
Flux: On the Cusp-70 hour MP3 Device, Wireless Networking, and Any-shape Batteries
Douglas BolingMSDN Magazine March 2000
Retreiving serial number from data storage device
Hi!
Next part of code works perfectly on vista\7:
using (ManagementObjectCollection moDiskCollection = diskSearch.Get())
{
foreach (ManagementObject mo in moDiskCollection)
{
VolumeInfo newVolInfo = new VolumeInfo
{
DriveDescription = mo["Description"] == null ? "" : mo["Description"].ToString(),
DriveLetter =mo["Name"] == null ? "" : mo["Name"].ToString() ?? "",
DriveName =mo["VolumeName"] == null ? "" :mo["VolumeName"].ToString() ?? "",
DriveSerial =mo["Volumeserialnumber"] == null ? "" :mo["Volumeserialnumber"].ToString() ?? "",
DriveSize = mo["Size"] == null ? "" : mo["Size"].ToString() ?? ""
};
m_volumeInfoList.Add(newVolInfo);
mo.Dispose();
}
}
When i trying to launch my app on winXP i'm getting error:
System.Management.ManagementException was caught
Message="Not found "
Source="System.Management"
StackTrace:
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Mana
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
Forgot password
Contact Us
Terms Of use
Share your knowledge