I figure I’d have to check the host computer for .net version and abort if lower than 4.5, make a directory, extract the files there, open, delete and so on.
I guess it will be better for me to just release the files under Creative Commons.
But thank you for the feedback, I appreciate that a lot!
Thanks, but would this require the user to install the library?
I know that Rhino can open a file within a zip. One has to paste the adress into the open dialog box, and then Rhino will find the files within the zip. But I am not able to do so with the -open command.
But it doesn’t really matter, the intent was only to protect the 3D mini file from free distribution.
I would have liked to put a code on the zip file, and then put that code within the plugin, but it becomes too complex I presume.
Oops. Read it wrong. Though you were using a rhinocommon (.net library)
If you were using a C# or Vb.Net you could have used the library and add it to the plugin folder.
Dont know how it works with Scripting. Think you need to Import the dll and add it to your scriptfolder?
P.S. You can create a new filename type and protect it from being read and create a command that, if a filetype with that name is being read, it will be decrypted.