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 "PROTOCOL" in [All]

netapi32

.
Summary
Queries the redirector to retrieve the optional features the remote system supports. Features include Unicode, Remote Procedure Call (RPC), and Remote Administration Protocol support.
.

     RemoteAdminProtocol = 2

.

     SamProtocol = 8

.

    RemoteAdminProtocol = 2,

.

    SamProtocol = 8,

.

            AppleFilingProtocol = 0x00000040,

.

    AppleFilingProtocol = 0x00000040,

shlwapi

.

    IsProtocol = 0x1000,

.

    SupportedUriProtocols,

kernel32

.

  ' issue all commands to the NetBIOS protocol

.

        FileRemoteProtocolInfo = 13, // 0xD

wininet

.

    Number of the TCP/IP port on the server to connect to. Can be one of the values in the following list. If this parameter is set to INTERNET_INVALID_PORT_NUMBER, the function uses the default port for the specified service. These values do not cause the function to use this protocol. The value sets the port to be used. A flag must be used to set the service.

.

    Address of a null-terminated string that contains the name of the user to log on. If this parameter is NULL, the function uses an appropriate default, except for HTTP. A NULL parameter in HTTP causes the server to return an error. For the FTP protocol, the default is anonymous.

.

Having a connect function for all protocols, even those that do not use persistent connections, lets an application communicate common information about several requests using a single function call. In addition, this allows for future versions of Internet protocols that do not require a connection to be established for every client request.

.

For maximum efficiency, applications using the Gopher and HTTP protocols should try to minimize calls to InternetConnect and avoid calling this function for every transaction requested by the user. One way to accomplish this is to keep a small cache of handles returned from InternetConnect; when the user makes a request to a previously accessed server, that session handle is still available.

Enums

.

        /// Pup protocols: e.g. BSP [value = 4].

.

        /// Mit CHAOS protocols [value = 5].

.

        /// XEROX NS protocols [value = 6].

.

        /// IPX protocols: IPX, SPX, etc [value = 6].

.

        /// ISO protocols [value = 7].

.

        /// datakit protocols [value = 9].

.

        /// CCITT protocols, X.25 etc [value = 10].

.

        /// Protocols from Firefox [value = 19].

.

        /// Network Designers OSI & gateway enabled protocols [value = 28].

.

        FileRemoteProtocolInfo = 13, // 0xD

.

    ///This transaction manager encountered a protocol error with another TIP transaction manager.

.

    [Description("This transaction manager encountered a protocol error with another TIP transaction manager.")]

.

    public const int XACT_E_TIP_PROTOCOL_ERROR = unchecked((int)0x8004D020);

.

    ///The Kerberos subsystem encountered an error.  A service for user protocol request was made against a domain controller which does not support service for user.

.

    [Description("The Kerberos subsystem encountered an error.  A service for user protocol request was made against a domain controller which does not support service for user.")]

.

    ///The requested protocols are incompatible with the protocol currently in use with the smart card.

.

    [Description("The requested protocols are incompatible with the protocol currently in use with the smart card.")]

.

    '''This transaction manager encountered a protocol error with another TIP transaction manager.

.

    <Description("This transaction manager encountered a protocol error with another TIP transaction manager.")> _

.

    Public Const XACT_E_TIP_PROTOCOL_ERROR As Integer = CInt(&H8004d020UI)

.

    '''The Kerberos subsystem encountered an error.  A service for user protocol request was made against a domain controller which does not support service for user.

.

    <Description("The Kerberos subsystem encountered an error.  A service for user protocol request was made against a domain controller which does not support service for user.")> _

.

    '''The requested protocols are incompatible with the protocol currently in use with the smart card.

.

    <Description("The requested protocols are incompatible with the protocol currently in use with the smart card.")> _

.

        FEATURE_DISABLE_MK_PROTOCOL = 7,

.

        FEATURE_PROTOCOL_LOCKDOWN = 14,

.

        FEATURE_DISABLE_TELNET_PROTOCOL = 25,

.

    public enum KERB_PROTOCOL_MESSAGE_TYPE : uint

.

Enum KERB_PROTOCOL_MESSAGE_TYPE

.
Documentation
[KERB_PROTOCOL_MESSAGE_TYPE] on MSDN
.

    CrmProtocolAlreadyExists = 0xc019000f,

.

    CrmProtocolNotFound = 0xc0190011,

.

    internal enum PROTOCOL_INT : int

.

        //control message protocol  

.

        //internet group management protocol  

.

        //user datagram protocol  

.

Enum PROTOCOL_INT

.
Documentation
[PROTOCOL_INT] on MSDN
.

        /// <summary>707. There was an error related to the X.25 protocol. </summary>

.

        /// <summary>720. The connection attempt failed because your computer and the remote computer could not agree on PPP control protocols. </summary>

.

        ERROR_PPP_NO_PROTOCOLS_CONFIGURED,

.

        /// <summary>724. The IPX protocol cannot dial out on the modem (or other connecting device) because this computer is not configured for dialing out (it is an IPX router). </summary>

.

        /// <summary>725. The IPX protocol cannot dial in on the modem (or other connecting device) because this computer is not configured for dialing in (the IPX router is not installed). </summary>

.

        /// <summary>726. The IPX protocol cannot be used for dialing out on more than one modem (or other connecting device) at a time. </summary>

.

        /// <summary>729. SLIP cannot be used unless the IP protocol is installed. </summary>

.

        /// <summary>731. The protocol is not configured. </summary>

.

        ERROR_PROTOCOL_NOT_CONFIGURED,

.

        /// <summary>732. Your computer and the remote computer could not agree on PPP control protocols. </summary>

.

        /// <summary>733. Your computer and the remote computer could not agree on PPP control protocols. </summary>

.

        /// <summary>734. The PPP link control protocol was terminated. </summary>

.

        /// <summary>736. The remote computer terminated the control protocol. </summary>

.

        /// <summary>739. The authentication protocol required by the remote server cannot use the stored password. Redial, entering the password explicitly. </summary>

.

        /// <summary>753. The connection could not be disconnected because it was created by the multi-protocol router. </summary>

.

        /// <summary>766. A certificate could not be found. Connections that use the L2TP protocol over IPSec require the installation of a machine certificate, also known as a computer certificate.  </summary>

.

        /// <summary>782. Connection Sharing (NAT) is currently installed as a routing protocol, and must be removed before enabling Internet Connection Sharing. </summary>

.

        /// <summary>794. The Framed Protocol RADIUS attribute for this user is not PPP.  </summary>

.

        ERROR_UNKNOWN_FRAMED_PROTOCOL,

.

        /// <summary>798. A certificate could not be found that can be used with the Extensible Authentication Protocol (EAP).  </summary>

.

        /// <summary>806. A connection between your computer and the VPN server has been started, but the VPN connection cannot be completed. The most common cause for this is that at least one Internet device (for example, a firewall or a router) between your computer and the VPN server is not configured to allow Generic Routing Encapsulation (GRE) protocol packets. </summary>

.

        /// <summary>825. Point-to-Point Tunneling Protocol (PPTP) is incompatible with IPv6. Change the type of virtual private network to Layer Two Tunneling Protocol (L2TP). </summary>

.

        /// raw-protocol interface

.

     /// A USHORT value that specifies information about the protocol type for the session. This is one of the following values:<BR/>

.

     /// 2 - The RDP protocol.<BR/>

.

     WTSClientProtocolType,

.

    WTSClientProtocolType

.

     WTSClientProtocolType,

.

    WTSClientProtocolType

shell32

.

           OAIF_URL_PROTOCOL =    0x00000040,   // Vista+: cszFile is actually a URI scheme; show handlers for that scheme

crypt32

.

    HCERTSTORE   WINAPI CertOpenSystemStore(HCRYPTPROV hprov, LPTCSTR szSubsystemProtocol);

iphlpapi

.

        IF_TYPE_LAP_D = 77,  // Link Access Protocol D

.

        IF_TYPE_BSC = 83,  // Bisynchronous Protocol

.

        IF_TYPE_ASYNC = 84,  // Asynchronous Protocol

.

        IF_TYPE_ARAP = 88,  // Appletalk Remote Access Protocol

.

        IF_TYPE_HOSTPAD = 90,  // CCITT-ITU X.29 PAD Protocol

.

        IF_TYPE_X25_MLP = 121,  // Multi-Link Protocol

.

    //http://stackoverflow.com/questions/1148778/how-do-i-access-arp-protocol-information-through-c-net

.
Summary
.

        public PROTOCOL dwProtocol;

.

    internal enum PROTOCOL : uint

.

        public PROTOCOL dwProtocol;

.

            filter.dwProtocol = PROTOCOL.TCP;

.

    internal enum PROTOCOL : uint

.

        public PROTOCOL dwProtocol;

.

            filter.dwProtocol = PROTOCOL.TCP;

.

    internal enum PROTOCOL : uint

.

        public PROTOCOL dwProtocol;

.

            filter.dwProtocol = PROTOCOL.TCP;

.

    public enum PROTOCOL : uint

.

        public PROTOCOL dwProtocol;

rasapi32

.

          public int       dwfNetProtocols;

.

          public int       dwFramingProtocol;

.

    public enum RasNetProtocols

.

    public enum RasFramingProtocol

twain_32

.

    Public ProtocolMajor As Short

.

    Public ProtocolMinor As Short

ws2_32

.

    /// Pup protocols: e.g. BSP [value = 4].

.

    /// Mit CHAOS protocols [value = 5].

.

    /// XEROX NS protocols [value = 6].

.

    /// IPX protocols: IPX, SPX, etc [value = 6].

.

    /// ISO protocols [value = 7].

.

    /// datakit protocols [value = 9].

.

    /// CCITT protocols, X.25 etc [value = 10].

.

    /// Protocols from Firefox [value = 19].

.

    /// Network Designers OSI &amp; gateway enabled protocols [value = 28].

.

    public enum PROTOCOL : short

.

    //control message protocol  

.

    //internet group management protocol  

.

    //user datagram protocol  

.
Documentation
[PROTOCOL] on MSDN
32: socket
.

    /// raw-protocol interface

.

        /// WSAPROTOCOL_INFOA structure

.

        SO_PROTOCOL_INFOA       =   0x2004,

.

        /// WSAPROTOCOL_INFOW structure

.

        SO_PROTOCOL_INFOW       =   0x2005,

.

    public static extern uint WSAAddressToString(ref sockaddr_in lpsaAddress, int dwAddressLength, IntPtr lpProtocolInfo,

.

    public static extern uint WSAAddressToString(ref  sockaddr_in6 lpsaAddress, int dwAddressLength, IntPtr lpProtocolInfo,

.

internal struct WSAPROTOCOL_INFO

.

    public WSAPROTOCOLCHAIN ProtocolChain;

.

    public int iProtocol;

.

    public int iProtocolMaxOffset;

.

    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 255 /* WSAPROTOCOL_LEN */ + 1)]

.

    public char[] szProtocol;

.

internal struct WSAPROTOCOLCHAIN

.

    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 7 /* MAX_PROTOCOL_CHAIN */)]

.

Declare Function WSAPROTOCOL_INFO Lib "ws2_32.dll" (TODO) As TODO

.
Documentation
[WSAPROTOCOL_INFO] on MSDN
.

  public static extern IntPtr WSASocket(ADDRESS_FAMILIES af, SOCKET_TYPE socket_type, PROTOCOL protocol,

.

        IntPtr lpProtocolInfo, Int32 group, OPTION_FLAGS_PER_SOCKET dwFlags);

.

        /// Pup protocols: e.g. BSP [value = 4].

.

        /// Mit CHAOS protocols [value = 5].

.

        /// XEROX NS protocols [value = 6].

.

        /// IPX protocols: IPX, SPX, etc [value = 6].

.

        /// ISO protocols [value = 7].

.

        /// datakit protocols [value = 9].

.

        /// CCITT protocols, X.25 etc [value = 10].

.

        /// Protocols from Firefox [value = 19].

.

        /// Network Designers OSI &amp; gateway enabled protocols [value = 28].

.

        /// raw-protocol interface

.

    public enum PROTOCOL : short

.

        //control message protocol  

.

        //internet group management protocol  

.

        //user datagram protocol  

.

        // WSAPROTOCOL_INFOA structure  

.

        SO_PROTOCOL_INFOA = 0x2004,

.

        // WSAPROTOCOL_INFOW structure  

.

        SO_PROTOCOL_INFOW = 0x2005,

.

                      IntPtr        lpProtocolInfo,

.
  • lpProtocolInfo: The WSAPROTOCOL_INFO structure associated with the provider to be used. If this is NULL, the call is routed to the provider of the first protocol supporting the indicated AddressFamily.

advapi32

.

    public int dwProtocols;

Constants

39: NERR_
.

        /// <summary> 2470 - Try down-level (remote admin protocol) version of API instead. </summary>

.

    public static PropertyKey WPD_DEVICE_PROTOCOL = new PropertyKey(0x26D4979A, 0xE643, 0x4626, 0x9E, 0x2B, 0x73, 0x6D, 0xC0, 0xC9, 0x2F, 0xDC, 6);

.

        public const int ERROR_INVALID_OPLOCK_PROTOCOL = 301;

.

        public const int ERROR_PROTOCOL_UNREACHABLE = 1233;

.

        /// The kerberos protocol encountered an error while validating the

.

        /// The kerberos protocol encountered an error while attempting to utilize

.

        /// The RPC protocol sequence is not supported.

.

        /// The RPC protocol sequence is invalid.

.

        /// No protocol sequences have been registered.

.

        /// There are no protocol sequences.

.

        /// A remote procedure call (RPC) protocol error occurred.

.

        public const int RPC_S_PROTOCOL_ERROR = 1728;

.

        /// The RPC protocol sequence was not found.

.

        /// The specified protocol driver is invalid.

.

        /// The specified protocol driver was not found in the system path.

.

        /// A protocol error occurred.

.

        public const int ERROR_DS_PROTOCOL_ERROR = 8225;

.

        /// TCP/IP network protocol not installed.

.

        /// A protocol was specified in the socket function call that does not support the semantics of the socket type requested.

.

        /// The requested protocol has not been configured into the system, or no implementation for it exists.

.

        /// The protocol family has not been configured into the system or no implementation for it exists.

.

        /// An address incompatible with the requested protocol was used.

.

        /// Only one usage of each socket address (protocol/network address/port) is normally permitted.

.

        /// This transaction manager encountered a protocol error with another TIP transaction manager.

.

        public const int XACT_E_TIP_PROTOCOL_ERROR = (int)(0x8004D020 - 0x100000000);

.

        /// The requested protocols are incompatible with the protocol currently in use with the smart card.

Interfaces

.

        void GetBindResult(out Guid pclsidProtocol, out uint pdwResult, [MarshalAs(UnmanagedType.LPWStr)] out string pszResult, [In, Out] ref uint dwReserved);

.

    Sub GetBindResult(ByRef pclsidProtocol As Guid, ByRef pdwResult As UInteger, <MarshalAs(UnmanagedType.LPWStr)> ByRef pszResult As String, <[In](), [Out]()> ByRef dwReserved As UInteger)

.

    ,BINDSTATUS_PROTOCOLCLASSID

.

        INET_E_UNKNOWN_PROTOCOL = 0x800C000D,

.

        INET_E_USE_DEFAULT_PROTOCOLHANDLER = 0x800C0011,

.

                case HRESULTS.INET_E_UNKNOWN_PROTOCOL:

.

                    Description = "Unknown Protocol.";break;

.

public interface IInternetProtocolSink

.

    void Switch(ref _tagPROTOCOLDATA pProtocolData);

.

Public Interface IInternetProtocolSink

.

    Sub Switch(ByRef pProtocolData As _tagPROTOCOLDATA)

.
Documentation
[IInternetProtocolSink] on MSDN
.

interface IInternetProtocolEx {

.

Interface IInternetProtocolEx

.
Documentation
[IInternetProtocolEx] on MSDN
.
Summary
IInternetProtocolRoot is used to control the operation of an asynchronous pluggable protocol handler.
.

interface IInternetProtocolRoot {

.

      [MarshalAs(UnmanagedType.Interface)] IInternetProtocolSink protocolSink,

.

    int Continue([In] ref PROTOCOLDATA protocolData);

.

Interface IInternetProtocolRoot

.

IInternetProtocol, IInternetProtocolSink, IInternetBindInfo, PROTOCOLDATA

.
Documentation
[IInternetProtocolRoot] on MSDN
.

public interface IInternetProtocolSink

.

    void Switch(ref _tagPROTOCOLDATA pProtocolData);

.

Public Interface IInternetProtocolSink

.

    Sub Switch(ByRef pProtocolData As _tagPROTOCOLDATA)

.
Documentation
[IInternetProtocolSink] on MSDN

winscard

.

     UInt32 dwPreferredProtocols,

.

     out UInt32 pdwActiveProtocol);

.

Value of dwPreferredProtocols

.

SCARD_PROTOCOL_T0 - Use the T=0 protocol (value = 0x00000001)

.

SCARD_PROTOCOL_T1 - Use the T=1 protocol (value = 0x00000002)

.

SCARD_PROTOCOL_RAW - Use with memory type cards (value = 0x00000004)

.

DWORD dwActiveProtocol;

.

    SCARD_PROTOCOL_T0, &hCard, &dwActiveProtocol);

.

    uint dwPrefProtocol,

.

    ref IntPtr ActiveProtocol);

.

        IntPtr ActiveProtocol = IntPtr.Zero;

.

            result = SCardConnect(hContext, readerName, 2, 3, ref phCard, ref ActiveProtocol);

.

               ref uint pdwProtocol,

.

      public UInt32 dwProtocol;

.

If you use a struct rather than a class for SCARD_IO_REQUEST, don't forget to add "ref" to the pioRecvPci parameter in the signature. Alternatively, if you don't care about the returned protocol control information, change the pioRecvPci parameter to an "IntPtr" and pass "IntPtr.Zero" in as this parameter

.

        request.dwProtocol = 1; //SCARD_PROTOCOL_T1);

Structures

.

        internal PROTOCOL_INT ai_protocol;

.

                   ai_protocol = PROTOCOL_INT.IPPROTO_IP

.

PROTOCOL_INT

.

const UInt32 PST_LAT        = 0x00000101; // LAT protocol

.

const UInt32 PST_TCPIP_TELNET   = 0x00000102; // TCP/IP Telnet protocol

.
Summary
The HTTPAPI_VERSION structure defines the version of the HTTP API. This is not to be confused with the version of the HTTP protocol being used, which is stored in an HTTP_VERSION structure.
.
Summary
The HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY structure is used by HttpQueryServiceConfiguration to return a list of the Internet Protocol (IP) addresses to which the HTTP service binds.
.

        public KERB_PROTOCOL_MESSAGE_TYPE MessageType;

.

        public KERB_PROTOCOL_MESSAGE_TYPE MessageType;

.

public enum ForwardProtocol

.

    public ForwardProtocol dwForwardProto;

.

Public Enum ForwardProtocol

.

    Public dwForwardProto As ForwardProtocol

.
Summary
The SCARD_IO_REQUEST structure begins a protocol control information structure. Any protocol-specific information then immediately follows this structure. The entire length of the structure must be aligned with the underlying hardware architecture word size. For example, in Win32 the length of any PCI information must be a multiple of four bytes so that it aligns on a 32-bit boundary.
.

    public int dwProtocol;

.
Summary
The SOCKET_ADDRESS structure stores protocol-specific address information.

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: