Class EncryptionFileRead
Implements
Inherited Members
Namespace: VRoidSDK.IO
Assembly: VRoidSDK.dll
Syntax
public class EncryptionFileRead : IFileRead
Constructors
EncryptionFileRead(String)
コンストラクタ
Declaration
public EncryptionFileRead(string password)
Parameters
Type | Name | Description |
---|---|---|
String | password |
Methods
IsFileExist(String)
ファイルが存在するかチェックする
Declaration
public bool IsFileExist(string filePath)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | チェックする絶対ファイルパス |
Returns
Type | Description |
---|---|
Boolean | ファイルの有無 |
Load(String)
ファイルを読み込む
Declaration
public byte[] Load(string filePath)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | 読み込む絶対ファイルパス |
Returns
Type | Description |
---|---|
Byte[] | 読み込んだバイナリ |
Exceptions
Type | Condition |
---|---|
FileNotFoundException | ファイルが存在しない |
CryptographicException | ファイルの復号に失敗 |