Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / EncryptionHelper Class / IsKeyValid Method
bytes of key data; can be null
In This Topic
    IsKeyValid Method (EncryptionHelper)
    In This Topic
    Determines whether a key is present and has a valid length.
    Syntax
    [Obsolete("Use EncryptionKeyManager.IsKeyValid instead.")]
    public static bool IsKeyValid( 
       byte[] keyData
    )

    Parameters

    keyData
    bytes of key data; can be null

    Return Value

    True if the key is not null and has a valid 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