User Tools

Site Tools

memo:index

Memo



2025-03-06 如何避免C# Access CommonApplicationData 時發生 UAC 權限問題

  • 如何避免C# Access System.Environment.SpecialFolder.CommonApplicationData 時發生 UAC 權限問題

→ Read more...

2025/03/06 13:52 · jethro



2025-03-05 Environment.SpecialFolder on Windows, Linux and OS X

  • While developing Pkcs11Admin - multiplatform application written in C# - I was trying to figure out where to store log file so it can be easily reached by the user on all supported operating systems - Windows, Linux and Mac OS X.
  • To avoid hardcoding I wanted to use System.Environment.SpecialFolder enumeration but I was not quite sure which member (ENM) to choose because the documentation does not contain the actual paths. So I have created simple test application which dumps these paths and executed it on Windows 8.1 with .NET Framework 4.5 (WIN), on Ubuntu 14.04 LTS with Mono 3.2.8 (LIN) and on Mac OS X 10.10.1 Yosemite with Mono 3.10.0 (OSX).

→ Read more...

2025/03/05 17:52 · jethro



2025-03-05 ERROR: System.Environment.SpecialFolder'

→ Read more...

2025/03/05 08:25 · jethro

8442 person(s) visited this page until now.

Permalink memo/index.txt · Last modified: 2019/11/12 14:09 by jethro

oeffentlich