-2
I was creating an application that needs to create a folder in System32
or in the windows folder itself, only it needs permission and error:'O acesso ao caminho 'C:\Windows\pasta' foi negado.
'
Does anyone know how I can create without permission?
string diretorio = @"C:\Windows\pasta";
if (!Directory.Exists(diretorio))
{
Directory.CreateDirectory(diretorio);
}