How to Get Special Folders on Computer
Title : How to Get Special Folders on Computer
Official Link: Environment.SpecialFolder
We usually load some cache files in the file to facilitate retrieval next time. If using a hard disk address like: H:\preview, the user might not have the H drive letter. However, all computers have some fixed cache paths.
If you want to access the Temp folder, you can enter the %temp% command on the computer to access it quickly. In the program, we call it viaEnvironment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), the parameter is an enumeration value, you can refer to the official link to get the specific address.

All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.


