Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Configuration Namespace / EncryptionKeyManager Class / IsKeyValid Method
bytes of key data
In This Topic
    IsKeyValid Method (EncryptionKeyManager)
    In This Topic
    Determines whether key data is present and has a valid length.
    Syntax
    public static bool IsKeyValid( 
       byte[] keyData
    )

    Parameters

    keyData
    bytes of key data

    Return Value

    True if the key data is not null and has a valid length
    Remarks
    Keys can be 16 or 32 bytes in length.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also