HPluginGetPluginAssemblyResourceBytes Method |
Retrieves the byte[] that constitutes an embedded resouce in this HPlugin's PluginAssembly.
This helper is particularly useful when the plugin Security Level is set to Level 3 or higher (which disallows use of System.IO).
Namespace:
com.tiberiumfusion.ttplugins.HarmonyPlugins
Assembly:
TTPlugins (in TTPlugins.dll) Version: 1.2.0.1 (1.2.0.1)
Syntaxpublic byte[] GetPluginAssemblyResourceBytes(
string resourceName
)
Public Function GetPluginAssemblyResourceBytes (
resourceName As String
) As Byte()
Parameters
- resourceName
- Type: SystemString
The name of the embedded resource to retrieve.
Return Value
Type:
ByteThe embedded resource's bytes.
See Also