473,383 Members | 1,872 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,383 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

Nov 16 '05 #1
1 1258
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

Nov 16 '05 #2

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

Similar topics

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...
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...
4
by: Pete Kane | last post by:
Hello all, how can I check for multiple file attributes using bitwise operators ? I'm thinking along the lines of string fname = "c:\\test.txt"; if(File.GetAttributes(fname) &...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.