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

advapi32

.

    private static extern bool CredDelete(string target, CRED_TYPE type, int flags);

.

    private enum CRED_TYPE

.

The CredDelete 'type' method parameter (int) must be one of the constant CRED_TYPE_* values.

.

    CredDelete("YourTarget", CRED_TYPE.GENERIC, 0);

.

public static extern bool CredRead(string target, CRED_TYPE type, int reservedFlag, out IntPtr credentialPtr);

.

    public enum CRED_TYPE : int

.

    if(CredRead(strTarget, CRED_TYPE.GENERIC, 0, out credPtr))

.

        public static extern bool CredRead(string target, CRED_TYPE type, int reservedFlag,

.

        public enum CRED_TYPE : uint

.

        public CRED_TYPE Type;

.

            public CRED_TYPE Type;

.

enum CRED_TYPE : uint

.

     CRED_TYPE_GENERIC = 1,

.

     CRED_TYPE_DOMAIN_PASSWORD = 2,

.

     CRED_TYPE_DOMAIN_CERTIFICATE = 3,

.

     CRED_TYPE_DOMAIN_VISIBLE_PASSWORD = 4

.

     userCredential.type = (UInt32)CRED_TYPE.CRED_TYPE_DOMAIN_PASSWORD;

Constants

.
Summary
CRED_TYPE_* constants
.

const readonly int CRED_TYPE_GENERIC = 1;

.

const readonly int CRED_TYPE_DOMAIN_PASSWORD = 2;

.

const readonly int CRED_TYPE_DOMAIN_CERTIFICATE = 3;

.

const readonly int CRED_TYPE_DOMAIN_VISIBLE_PASSWORD = 4;

.

const readonly int CRED_TYPE_MAXIMUM = 5; // Maximum supported cred type

.

Public Enum CRED_TYPE


 
Access PInvoke.net directly from VS: