how to create password to folder using c#

后端 未结 2 576
野的像风
野的像风 2021-01-20 03:12

how to create password to windows folder using c#

shall I set password to folders when it is created.

2条回答
  •  既然无缘
    2021-01-20 04:11

    You can't set a password on a folder in either FAT32 or NTFS, however you can set up so that only certain user accounts can access it using the DirectorySecurity class. There's some sample code in that link.

提交回复
热议问题