Develop applications by using the HDM SDK on any computer where you have the Windows system installed. For more details see the Requirements in the Getting Started with the HDM SDK C++/C# section.
- It’s best to use Microsoft .NET Framework 4.6 to start your work with the SDK.
- To test the HDM SDK in your environment, we suggest to use our sample first. Copy the files to the folder on your machine.
- Once the sample app complies, add the path to hdmclient_hdmclientinteroplib.dll dynamic or static, as a dependency.
- Set up callbacks from hdmclientinteroplib.dll
- Make sure everything is linked and there are no errors.
- Test that the sample compiles and runs, you need to introduce the number of your disk, partition, and the new partition in the sample.
- Now you can add more features provided by the HDM SDK. Browse the API Reference and the code samples sections for more ideas.
Required API Functions
All API processes must start with the initialization of the IHdmengineApi interface before any other calls to the HDM API can be made. Conversely, the hdmInProcess.Close function is used to end a process.
For example, to resize a disk or partition of a disk, use the PartitionResize function.
For more examples of a basic HDM application, see C# Code Samples for Basic Partitioning Tasks.