![]() |
General Programming »
Internet / Network »
Internet & Network
Intermediate
.NET Wrapper DLL for the WNet APIBy CalisharA simple wrapper DLL containing most of the functions in the WNet API. |
C#.NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
This is a simple wrapper DLL to allow easier access to the WNet API from within the .NET environment.
The WNet API can be used to add/delete network connections (drive and printer mappings) as well as enumerate all devices and shares on the network (see MSDN for the full documentation).
Out of a total of 23 functions and seven structures, 17 functions and all structures are included in this version of the DLL.
The download contains source code for the DLL, which has XML documentation included. There is also a (very) simple sample application in order to demonstrate how to call the functions.
At the moment, the following functions still have not been wrapped.
WNetGetNetworkInformation
WNetGetProviderName
WNetGetResourceInformation
WNetGetReourceParent
WNetGetUniversalName
WNetRestoreConnectionW Any feedback would be appreciated.
Email (make obvious replacements): nlinnett *at* integranetworks *dot* com.
| You must Sign In to use this message board. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 18 Aug 2003 Editor: Smitha Vijayan |
Copyright 2003 by Calishar Everything else Copyright © CodeProject, 1999-2009 Web13 | Advertise on the Code Project |