PC Review


Reply
Thread Tools Rate Thread

How to change a file creation time in CF?

 
 
Mitko
Guest
Posts: n/a
 
      20th Nov 2003
Is there a way to change a file creation time using .NET Compact Framework?

According to CF documentation:
System.IO.File.SetCreationTime() - is not supported
System.IO.FileInfo.CreationTime - is read only


Any "framework" suggestions will be appreciated.
 
Reply With Quote
 
 
 
 
Jonathan Wells [msft]
Guest
Posts: n/a
 
      21st Nov 2003
Here's a URL for those google'ing this thread:
http://www.gotdotnet.com/Community/U...a-85c1998e8489

--
Jonathan Wells
Product Manager
..NET Compact Framework
Check out the .NET Compact Framework FAQ at:
http://msdn.microsoft.com/mobility/p...Q/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.

"Jonathan Wells [msft]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Mitko,
>
> You need to P/Invoke SetFileTime. See attached.
>
> cheers jonathan
> --
> Jonathan Wells
> Product Manager
> .NET Compact Framework
> Check out the .NET Compact Framework FAQ at:
>

http://msdn.microsoft.com/mobility/p...Q/default.aspx
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
>
> "Mitko" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Is there a way to change a file creation time using .NET Compact

> Framework?
> >
> > According to CF documentation:
> > System.IO.File.SetCreationTime() - is not supported
> > System.IO.FileInfo.CreationTime - is read only
> >
> >
> > Any "framework" suggestions will be appreciated.

>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding File Creation Time bassoonboy Microsoft Excel Misc 0 17th Jul 2006 03:44 PM
File creation time roger.dahlstrom@gmail.com Windows XP General 13 11th Apr 2006 10:34 PM
File creation time incorrect in XP Pro SP2 Darren Windows XP General 2 1st Jan 2005 09:34 PM
File Creation Time SK Microsoft Dot NET 3 28th Aug 2004 12:01 AM
file modify creation access time are not displayed in file search harryleone Microsoft Access Security 1 24th Jun 2004 02:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.