NTFS Alternate Data Streams - .NET [closed]
How would I create/ delete/ read/ write/ NTFS alternate data streams from .NET? If there is no native .NET support, which Win32 API's would I use? Also, how would I use them, as I don't think this is documented? Not in .NET: http://support.microsoft.com/kb/105763 #include <windows.h> #include <stdio.h> void main( ) { HANDLE hFile, hStream; DWORD dwRet; hFile = CreateFile( "testfile", GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, 0, NULL ); if( hFile == INVALID_HANDLE_VALUE ) printf( "Cannot open testfile\n" ); else WriteFile( hFile, "This is testfile", 16, &dwRet, NULL ); hStream =