다음을 통해 공유


RC2CryptoServiceProvider.EffectiveKeySize 속성

RC2 알고리즘에서 사용하는 비밀 키의 효과적인 크기(비트 단위)를 가져오거나 설정합니다.

네임스페이스: System.Security.Cryptography
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
Public Overrides Property EffectiveKeySize As Integer
‘사용 방법
Dim instance As RC2CryptoServiceProvider
Dim value As Integer

value = instance.EffectiveKeySize

instance.EffectiveKeySize = value
public override int EffectiveKeySize { get; set; }
public:
virtual property int EffectiveKeySize {
    int get () override;
    void set (int value) override;
}
/** @property */
public int get_EffectiveKeySize ()

/** @property */
public void set_EffectiveKeySize (int value)
public override function get EffectiveKeySize () : int

public override function set EffectiveKeySize (value : int)

속성 값

RC2 알고리즘에서 사용하는 효과적인 키 크기(비트 단위)입니다.

예외

예외 형식 조건

CryptographicUnexpectedOperationException

EffectiveKeySize 속성에 설정된 값이 KeySizeValue 속성과 다른 경우

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0에서 지원

참고 항목

참조

RC2CryptoServiceProvider 클래스
RC2CryptoServiceProvider 멤버
System.Security.Cryptography 네임스페이스

기타 리소스

암호화 서비스