C# 클래스 Microsoft.Alm.Authentication.NativeMethods.Credential

파일 보기 프로젝트 열기: Microsoft/Git-Credential-Manager-for-Windows 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AttributeCount uint
Attributes System.IntPtr
CredentialBlob System.IntPtr
CredentialBlobSize uint
Flags CredentialFlags
LastWritten System.Runtime.InteropServices.ComTypes.FILETIME
Persist CredentialPersist
Type CredentialType

프로퍼티 상세

AttributeCount 공개적으로 프로퍼티

The number of application-defined attributes to be associated with the credential.

This member can be read and written. Its value cannot be greater than `AttributeMaxLengh`.

public uint AttributeCount
리턴 uint

Attributes 공개적으로 프로퍼티

Application-defined attributes that are associated with the credential. This member can be read and written.

public IntPtr,System Attributes
리턴 System.IntPtr

CredentialBlob 공개적으로 프로퍼티

Secret data for the credential. The CredentialBlob member can be both read and written.

If the `Type` member is `CredentialType.DomainPassword`, this member contains the plaintext Unicode password for `UserName`.

The `CredentialBlob` and `CredentialBlobSize` members do not include a trailing zero character.

Also, for `CredentialType.DomainPassword`, this member can only be read by the authentication packages.

If the Type member is `CredentialType.DomainCertificate`, this member contains the clear test Unicode PIN for `UserName`.

The `CredentialBlob` and `CredentialBlobSize` members do not include a trailing zero character.

Also, this member can only be read by the authentication packages.

If the `Type` member is `CredentialType.Generic`, this member is defined by the application.

Credentials are expected to be portable. Applications should ensure that the data in `CredentialBlob` is portable.

public IntPtr,System CredentialBlob
리턴 System.IntPtr

CredentialBlobSize 공개적으로 프로퍼티

The size, in bytes, of the `CredentialBlob` member.

This member cannot be larger than `PasswordMaxLength` bytes.

public uint CredentialBlobSize
리턴 uint

Flags 공개적으로 프로퍼티

A bit member that identifies characteristics of the credential.

Undefined bits should be initialized as zero and not otherwise altered to permit future enhancement.

public CredentialFlags Flags
리턴 CredentialFlags

LastWritten 공개적으로 프로퍼티

The time, in Coordinated Universal Time (Greenwich Mean Time), of the last modification of the credential.

For write operations, the value of this member is ignored.

public System.Runtime.InteropServices.ComTypes.FILETIME LastWritten
리턴 System.Runtime.InteropServices.ComTypes.FILETIME

Persist 공개적으로 프로퍼티

Defines the persistence of this credential. This member can be read and written.

public CredentialPersist Persist
리턴 CredentialPersist

Type 공개적으로 프로퍼티

The type of the credential. This member cannot be changed after the credential is created.

public CredentialType Type
리턴 CredentialType