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
Download Visual Studio Add-In

Search Results for "SESSION_INFO_502" in [All]

netapi32

.

    ''' <item>502 - Return the name of the computer; name of the user; open files, pipes, and devices on the computer; and the name of the transport the client is using. The bufptr parameter points to an array of SESSION_INFO_502 structures. </item>

.

    [ StructLayout( LayoutKind.Sequential )]public struct SESSION_INFO_502

.

    <StructLayout(LayoutKind.Sequential)> Public Structure SESSION_INFO_502

.

        /// Returns all SESSIONS of the specified server. Returns an array of SESSION_INFO_502 structures.

.

        /// <returns>SESSION_INFO_502 STRUCTURE ARRAY</returns>

.

        public static SESSION_INFO_502[] EnumSessions(string server)

.

            BufPtr = (IntPtr)Marshal.SizeOf(typeof(SESSION_INFO_502));

.

            SESSION_INFO_502[] results = new SESSION_INFO_502[0];

.

                results = new SESSION_INFO_502[er];

.

                        SESSION_INFO_502 si = (SESSION_INFO_502)Marshal.PtrToStructure(new IntPtr(p),typeof(SESSION_INFO_502));

.

                        p += Marshal.SizeOf(typeof(SESSION_INFO_502));

.

        Public Shared Function SessionEnum(Optional ByVal sServer As String = "") As SESSION_INFO_502()

.

            Dim Result() As SESSION_INFO_502

Structures

.

struct SESSION_INFO_502

.

Structure SESSION_INFO_502

.
Documentation
[SESSION_INFO_502] on MSDN

 
Access PInvoke.net directly from VS: