Write c# program that returns if a domain user has access to specific file

Job ID: 34561513

Budget: $10 – $30 USD

I need a c# code that checks if a user has read access to a file by path, something like this:
public Boolean IsReadPermissions(string user, string domainName, string filePath)

e.g:
Boolean hasAccess = IsReadPermissions("userName", "DOMAIN", @"C:\test.log");
Related categories: C# Programming Windows API