XFINIUM.PDF Documentation
KeySize Property (PdfRc4SecurityHandler)



Xfinium.Pdf.Core.Security Namespace > PdfRc4SecurityHandler Class : KeySize Property
Gets or sets the size, in bits, of the secret key used by the security handler.
Syntax
'Declaration
 
Public Overrides Property KeySize As Integer
'Usage
 
Dim instance As PdfRc4SecurityHandler
Dim value As Integer
 
instance.KeySize = value
 
value = instance.KeySize
public override int KeySize {get; set;}
public:
property int KeySize {
   int get() override;
   void set (    int value) override;
}

Property Value

The size, in bits, of the secret key used by the security handler.
Remarks
RC4 support only 40bit and 128bit key sizes.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfRc4SecurityHandler Class
PdfRc4SecurityHandler Members