https://github.com/mjebrahimi/ramdisk
RamDisk is a library for create virtual disk drive on system memory
https://github.com/mjebrahimi/ramdisk
imdisk ramdisk virtual-disk virtual-drive
Last synced: 9 months ago
JSON representation
RamDisk is a library for create virtual disk drive on system memory
- Host: GitHub
- URL: https://github.com/mjebrahimi/ramdisk
- Owner: mjebrahimi
- License: mit
- Created: 2020-03-06T19:50:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T01:57:21.000Z (about 3 years ago)
- Last Synced: 2025-06-13T18:48:59.846Z (10 months ago)
- Topics: imdisk, ramdisk, virtual-disk, virtual-drive
- Language: C#
- Size: 85.9 KB
- Stars: 67
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/RamDisk/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/mjebrahimi/RamDisk)
# RamDisk
**RamDisk** is a library for create virtual disk drive on system memory (**you have to have [ImDisk](http://www.ltr-data.se/opencode.html/#ImDisk) installed, which is used in the backend - [download link of current stable version 2.0.10](http://www.ltr-data.se/files/imdiskinst.exe)**) which supports Windows NT/2000/XP/Vista/7/8/8.1/10 and Windows Server 2003/2003 R2/2008/2008 R2/2012/2012 R2, 32 and 64 bit (and ARM) editions.
## Get Started
### 1. Install Package
```
PM> Install-Package RamDisk
```
### 2. Use it
Please note that all operations require your application to have administrator priviliges.
**Mount** a virtual disk drive for example size : 512MB and fileSystem : NTFS and name : 'Z' and label : "RamDisk".
```csharp
using RamDisk;
RamDrive.Mount(512, FileSystem.NTFS, 'Z', "RamDisk");
//or simpler (other parameters except size has default value)
RamDrive.Mount(512);
```
Then **Unmount** drive name : 'Z'
```csharp
using RamDisk;
RamDrive.Unmount('Z');
//or simpler (drive name has default value 'Z')
RamDrive.Unmount();
```
## Contributing
Create an [issue](https://github.com/mjebrahimi/RamDisk/issues/new) if you find a BUG or have a Suggestion or Question. If you want to develop this project, Fork on GitHub and Develop it and send Pull Request.
A **HUGE THANKS** for your help.
## License
RamDisk is Copyright © 2020 [Mohammd Javad Ebrahimi](https://github.com/mjebrahimi) under the [MIT License](https://github.com/mjebrahimi/RamDisk/LICENSE).