{
private bool exists;
-#if MOONLIGHT
- internal FileInfo ()
- {
- }
-#endif
public FileInfo (string fileName)
{
if (fileName == null)
#if !NET_2_1
public FileSecurity GetAccessControl ()
{
- throw new NotImplementedException ();
+ return File.GetAccessControl (FullPath);
}
public FileSecurity GetAccessControl (AccessControlSections includeSections)
{
- throw new NotImplementedException ();
+ return File.GetAccessControl (FullPath, includeSections);
}
[ComVisible (false)]
public void SetAccessControl (FileSecurity fileSecurity)
{
- throw new NotImplementedException ();
+ File.SetAccessControl (FullPath, fileSecurity);
}
#endif
}