Class FileIO
Provides utility methods for file input/output operations.
Inherited Members
Namespace: OpenSvg
Assembly: OpenSvg.dll
Syntax
public static class FileIO
Methods
| Edit this page View SourceBinaryFileCompare(string, string)
Compares two files for binary equality.
Declaration
public static (bool IsEqual, string ErrorMessage) BinaryFileCompare(string filePath1, string filePath2)
Parameters
Type | Name | Description |
---|---|---|
string | filePath1 | The path to the first file. |
string | filePath2 | The path to the second file. |
Returns
Type | Description |
---|---|
(bool IsEqual, string ErrorMessage) | A tuple indicating whether the files are equal and an error message if not. |