Page 1 of 1

is there an API or command line interface for RAM Disk?

Posted: Fri Aug 07, 2020 9:19 pm
by Ken_SF
I am evaluating StarWind's RAMdisk and wonder if there is an API or command line interface?

I would like to be able to create a RAMDisk, stop a RAMDisk (eject it or close it) programmatically or with a script. I would also like the ability to save the RAMDisk in a binary format of somekind and restore a previously saved RAMDisk.

I program in both c++ and Powerbasic.

Thanks in advance.

Ken

Re: is there an API or command line interface for RAM Disk?

Posted: Mon Aug 10, 2020 3:49 pm
by yaroslav (staff)
Hi, I think that this KB might be useful https://knowledgebase.starwindsoftware. ... -disk-sdk/.
Consider also creating RAM disk in StarWind VSAN https://www.starwindsoftware.com/help/R ... evice.html. There should be CreateRam.ps1 in C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell that helps you to create a RAM disk in PowerShell.

Re: is there an API or command line interface for RAM Disk?

Posted: Tue Oct 13, 2020 6:16 am
by Jonas
the ramdisk sdk seems to help a lot - but i can't find any information about how i can get the sdk.

Yaroslav, can you please help me here?

Re: is there an API or command line interface for RAM Disk?

Posted: Tue Oct 13, 2020 7:48 am
by yaroslav (staff)
Hey, https://tmplink.starwind.com/StarRAMSDK-20170208.zip. Here is where you can get SDK.

Re: is there an API or command line interface for RAM Disk?

Posted: Tue Oct 13, 2020 8:23 am
by Jonas
yaroslav (staff) wrote:Hey, https://tmplink.starwind.com/StarRAMSDK-20170208.zip. Here is where you can get SDK.

thanks a lot.
I did not realize that i'd net admin rights though. :(

Is there any way I can get around that?

Re: is there an API or command line interface for RAM Disk?

Posted: Fri Oct 16, 2020 10:03 am
by yaroslav (staff)
See if you can make use of this forum thread https://superuser.com/questions/1074149 ... in-account.