473,320 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

fileattributes parsepoint

Hello,

one of the possible attributes of a file or a directory is ReparsePoint.
When there is such a point, there is a block of user-defined data associated
with the file/directory. In the past I used DeviceIoControl to get that
data. Now I wonder if there might be a direct way to get the data in .Net. I
would like to avoid interop if possible. Or is this once again something
which isn't provided by .Net yet?

Thanks in advance

Yves

Jul 21 '05 #1
1 1102
There appears to be a limited amount of information on NTFS Reparse Points
in the .NET framework v1.1.
http://msdn.microsoft.com/library/de...classtopic.asp

I didn't see any methods that would allow manipulation of reparse points
(along the lines of fsutil). I'm afraid that you are probably stuck with
interop for now. Perhaps this will improve with the next release of the
framework? (You can always download the beta to find out).

--- Nick
"Yves Dhondt" <no@privacy.net> wrote in message
news:O2*************@TK2MSFTNGP11.phx.gbl...
Hello,

one of the possible attributes of a file or a directory is ReparsePoint.
When there is such a point, there is a block of user-defined data associated with the file/directory. In the past I used DeviceIoControl to get that
data. Now I wonder if there might be a direct way to get the data in .Net. I would like to avoid interop if possible. Or is this once again something
which isn't provided by .Net yet?

Thanks in advance

Yves

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: StGo | last post by:
How can i read/write file's custom attributs(like subject,author...) in C#??? Thanks :))
2
by: Daniel Garavaldi | last post by:
Hi C# Gurus Has anybody of you experience with FileAttributes? I'm looking for alternatives and elegant solutions when opening a file with FileInfo and query the file-attributes (read-only,...
5
by: Fresh Air Rider | last post by:
Hello Could anyone please explain how I can pass more than one arguement/parameter value to a function using <asp:linkbutton> or is this a major shortfall of the language ? Consider the...
1
by: Frank | last post by:
Help My Brain is apparently not working! I have been trying to toggle FileAttributes in C# code to no avail. Nothing I have tried has worked and I have been unable to find anything anywhere...
1
by: Yves Dhondt | last post by:
Hello, one of the possible attributes of a file or a directory is ReparsePoint. When there is such a point, there is a block of user-defined data associated with the file/directory. In the past...
1
by: Edgardo Rossetto | last post by:
Quoting from MSDN docu: "This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values" I don't get it, how can I check if FileSystemInfo.Attribute has...
1
by: Phil Haddock | last post by:
Can anyone post a code snippet on how to retrieve Permission information on a Folder? (Visual Basic 2005) There's lot's of information on how to set a permission, but I can't figure out how to...
1
by: mgonzales3 | last post by:
I'm trying to compare DirectoryInfo.Attributes to FileAttributes like so: // result returning // Directory | Archive DirectoryInfo info = new DirectoryInfo(this.folderFullName); if...
18
by: jonpfl | last post by:
All, Can I use WScript inside an ASP page to kick off another process and post back to the client while this other process is still running? The reason I want to do this is because we are...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.