My question is simple, would it be possible to start a vbs
from the resources using process start
and reading the manifest
of the file? Or is the only way possible is by writing to disk?
Assembly.GetExecutingAssembly() .GetManifestResourceStream("script.vbs"))
And then start it using process start
:
Process.Start(cscript.exe Assembly.GetExecutingAssembly() .GetManifestResourceStream("script.vbs")))