fileinfo
Attaching arbitrary data to DirectoryInfo/FileInfo?
I have a site which is akin to SVN, but without the version control.. Users can upload and download to 开发者_开发知识库Projects, where each Project has a directory (with subdirs and files) on the ser[详细]
2023-01-14 14:31 分类:问答How do I list imags from directory?
I\'m trying to show all images within a specified directory. The following code lists all allowed file names:[详细]
2023-01-14 12:04 分类:问答Application Settings + DirectoryInfo/FileInfo
I\'m still new to C#... I\'m building a WPF application and I\'m trying to apply some User Application Settings. It\'s easy to insert standard App Settings (int, double, string, etc). I\'ve even got s[详细]
2023-01-13 01:42 分类:问答GetFiles with multiple extensions [duplicate]
This question already has answers here: 开发者_C百科 Closed 10 years ago. Possible Duplicate: Can you call Directory.GetFiles() with multiple filters?[详细]
2023-01-12 03:08 分类:问答Drag drop a file on top of .exe file to get fileinfo
As the title say. I know how to do this in C# only, but when trying to do this with WPF I can\'t find out where or what to add to read the filename when the program starts.[详细]
2023-01-07 08:16 分类:问答Blank space after file extension -> weird FileInfo behaviour
Somehow a file has appeared in one of my directories, and it has space at the end of its extension -[详细]
2022-12-28 12:26 分类:问答ContentLength vs Actual File.Length
Does anyone has any experie开发者_StackOverflownce wherein the requested file to download (HTTP) content length in the header does not equal to the actual file length (size) when downloaded?The conten[详细]
2022-12-27 00:23 分类:问答Understanding a boolean on DirectoryInfo.Exists
var fileOpen = new OpenFileDialog(); var clickedOk = fileOpen.ShowDialog(); if (!((bool) clickedOk)) return;[详细]
2022-12-22 18:45 分类:问答How to create a new file from a FileStream?
I have a javascript file as an embedded resource in an assembly, and I\'m trying to use the Stream from \"System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(\"someName\");\" t[详细]
2022-12-22 03:54 分类:问答Fileinfo delete command
My application does this, play the selected sound using wmplib and upon statechangeevent = 1 (media player stopped), I will close the player using the close() command and setting the URL to \"\";[详细]
2022-12-21 01:52 分类:问答