Spread Windows Forms 17
FarPoint.Excel Assembly / FarPoint.Excel Namespace / IProtectionSupport Interface / ExcelSetWorkbookProtectedStructure Method
The hash value
The salt value that used to compute hash value
Number of loop used when compute hash value
if set to true [lock structure].
Name of algorithm used to compute hash value


In This Topic
    ExcelSetWorkbookProtectedStructure Method (IProtectionSupport)
    In This Topic
    Set workbook protected structure information
    Syntax
    'Declaration
     
    
    Function ExcelSetWorkbookProtectedStructure( _
       ByVal hashValue() As Byte, _
       ByVal saltValue() As Byte, _
       ByVal spinCount As UInteger, _
       ByVal lockStructure As Boolean, _
       ByVal algorithmName As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As IProtectionSupport
    Dim hashValue() As Byte
    Dim saltValue() As Byte
    Dim spinCount As UInteger
    Dim lockStructure As Boolean
    Dim algorithmName As String
    Dim value As Boolean
     
    value = instance.ExcelSetWorkbookProtectedStructure(hashValue, saltValue, spinCount, lockStructure, algorithmName)
    bool ExcelSetWorkbookProtectedStructure( 
       byte[] hashValue,
       byte[] saltValue,
       uint spinCount,
       bool lockStructure,
       string algorithmName
    )

    Parameters

    hashValue
    The hash value
    saltValue
    The salt value that used to compute hash value
    spinCount
    Number of loop used when compute hash value
    lockStructure
    if set to true [lock structure].
    algorithmName
    Name of algorithm used to compute hash value
    See Also