CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Threaded View

  1. #3
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Can't get time off of the hiberfil.sys

    I spent some time with CreateFile yesterday but didn't solve it.

    I did try this in C# using the FileInfo class and it worked fine.

    I loaded up the system.dll in Reflector to see if I can determine the underlying FileInfo implementation, but it's a bit complicated for the cursory look I gave. With more time, one should be able to track down the api's and necessary permissions by looking at the .net implementation.

    P.S. I didn't have hyperfil.sys so I used pagefile.sys.

    In C#, it's one line of code.
    Attached Images Attached Images
    Last edited by Arjay; August 24th, 2009 at 09:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured