📄 passwordrecord.cs
字号:
using System;
using Microsoft.Fawvw.Components.NExcel.Biff;
namespace Microsoft.Fawvw.Components.NExcel.Read.Biff
{
/// <summary> A password record</summary>
class PasswordRecord:RecordData
{
/// <summary> Gets the binary data for output to file
///
/// </summary>
/// <returns> the password hash
/// </returns>
virtual public int PasswordHash
{
get
{
return passwordHash;
}
}
/// <summary> The password</summary>
private string password;
/// <summary> The binary data</summary>
private int passwordHash;
/// <summary> Constructor
///
/// </summary>
/// <param name="t">the raw bytes
/// </param>
public PasswordRecord(Record t):base(Microsoft.Fawvw.Components.NExcel.Biff.Type.PASSWORD)
{
sbyte[] data = t.Data;
passwordHash = IntegerHelper.getInt(data[0], data[1]);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -