Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "NetSessionEnum" in [All]

netapi32

.
Summary
The NetSessionEnum function provides information about sessions established on a server.
.

        private static extern int NetSessionEnum(

.

    ''' The NetSessionEnum function provides information about sessions established on a server.

.

    ''' <param name="UncClientName">[in] Pointer to a string that specifies the name of the computer session for which information is to be returned. If this parameter is NULL, NetSessionEnum returns information for all computer sessions on the server.</param>

.

    ''' <param name="userName">[in] Pointer to a string that specifies the name of the user for which information is to be returned. If this parameter is NULL, NetSessionEnum returns information for all users.</param>

.

    Private Shared Function NetSessionEnum( _

.

                res = NetSessionEnum(server,null,null,502,out BufPtr,-1,ref er,ref tr,ref resume);

.

            success = NetSessionEnum(sServer, "", "", 502, bufptr, -1, EntriesRead, TotalRead, ResumeHandle)

.
Documentation
[NetSessionEnum] on MSDN

 
Access PInvoke.net directly from VS: