Well, I was just trying to recreate the managed resource data storage method for my crypter, and I was wondering if some people may find this useful for recreating the managed resource data storage method themselves.
Writing the Resource:
Reading the Resource:
Hope you guys find this useful ^_^.
Writing the Resource:
Code
'To Create Resource File
Using R As New Resources.ResourceWriter(Application.StartupPath & "\ResourceFileName.resources")
R.AddResource("resourcenamehere", "file data/string/image here")
R.Generate()
End Using
'To Include Resource File
parameters.EmbeddedResources.Add(Application.StartupPath & "\ResourceFileName.resources")
'To Delete Resource File After Use
If IO.File.Exists(Application.StartupPath & "\ResourceFileName.resources") Then : IO.File.Delete(Application.StartupPath & "\ResourceFileName.resources") : End IfReading the Resource:
Code
Dim resourceManager As New Resources.ResourceManager("ResourceFileName", Assembly.GetExecutingAssembly)
'Reading bytes from Resource File
Dim resourceBytes As Byte() = DirectCast(resourceManager.GetObject("resourcenamehere"), Byte())
'Reading a string from Resource File
Dim resourceString As Byte() = resourceManager.GetString("resourcenamehere")Hope you guys find this useful ^_^.


![[Image: 2f4032b5f1170bc8fedd7e367c680327.png]](https://i.gyazo.com/2f4032b5f1170bc8fedd7e367c680327.png)
![[Image: Slayer_logo.png]](https://dl.dropboxusercontent.com/u/67444554/Slayer_logo.png)

