asked on
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
namespace ACL
{
class Program
{
static void Main(string[] args) {
getACLInformation("C:\\Rob\\account.sbd");
}
static void getACLInformation(string strFile) {
FileInfo fInfo = new FileInfo(strFile);
FileSecurity fSecurity = fInfo.GetAccessControl();
}
}
}
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY