RawDisk

Direct access to disks and protected files from user-mode applications in Windows

RawDisk.OpenPhysicalMemoryForReading method

Filter:

Pascal    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

RawDisk    

Overview

Opens raw access to physical memory of computer

Declaration

[Pascal]
    class function OpenPhysicalMemoryForReading( LicenseKey : WideString) : THandle;

[C++ (DLL/Lib)]
    static HANDLE OpenPhysicalMemoryForReading( unsigned short* LicenseKey);

[C++ (VCL)]
    static THandle __fastcall OpenPhysicalMemoryForReading( WideString LicenseKey);

[C++ (.NET)]
    static IntPtr OpenPhysicalMemoryForReading( String^ LicenseKey);

[C#]
    static IntPtr OpenPhysicalMemoryForReading( string LicenseKey)

[VB.NET]
    Shared Function OpenPhysicalMemoryForReading( ByVal LicenseKey As String) As IntPtr

Parameters

  • LicenseKey - The license key. RawDisk doesn't work without the license key (either production or evaluation). You can request the evaluation license key via request form.

Return values

The handle of the device.

Description

Use this method to open access to physical memory of computer. Use the obtained handle in calls to ReadFile() and SetFilePointer() functions of Windows API.

Once you finished using the direct access to memory, call CloseHandle() Windows API function to release the resources.

If the method fails for whatever reason, an exception with Windows-defined error code is thrown.

Back to top