file

  • directory info get files show directories C# .Net

    There is sometimes a misunderstanding between a “file” and a “folder” in filesystems. In C# .Net the following is often used to list all “files” in a folder. However, even though you can specify to search containing subdirectories, the above… Continue reading

  • Change ReadOnly File Attribute in C#

    Keep in mind when deleting files from code the typical override allowing users to delete anything in their path, whether it is marked readonly or not, will prevent your IO process from continuing and throw a nice little generic “access… Continue reading

  • Play Sound in .Net

    Snippets below have been condensed from their original sources for brevity. See references for original articles. All examples are in C# .Net. Winforms: ASP .Net: (create an empty div in your page called “sound_element”) Note there are many ways to… Continue reading