This exemple use BlobPE 1.1.0. It's still functional with the new 1.1.2 version.
BlobPE initialization -> Program.cs
BlobPE Usages -> MainForm.cs
| Method | Description |
|---|---|
| CheckForUpdates(string[] args, Dictionary<string, int> defaultData) | Checks for update args and applies updates if specified. defaultData is used when no blob is found in the binaries, using the string for key name and int for maximalData size. |
| RemoveUpdateFiles() | Removes any update files created during the update process. |
| Get(string key) | Retrieves a value as a string from the blob data by its key. |
| GetBool(string key) | Retrieves a value as boolean from the blob data by its key. |
| GetInt(string key) | Retrieves a value as integer from the blob data by its key. |
| Set(string key, object value) | Sets the value for a specified key in the blob data. |
| Save() | Saves the current state of the app data back into his own executable file. |
| Reset() | Clears the blob data, removing all value, keeping the key and size value. |
| Delete() | Deletes the blob data from the executable file, removing all traces of the stored data. |