Ejemplo n.º 1
0
 public async Task <Stream> OpenReadAsync()
 {
     if (_underlayingResource == null)
     {
         return(null);
     }
     using (ServiceRegistration.Get <IImpersonationService>().CheckImpersonationFor(CanonicalLocalResourcePath))
         return(await _underlayingResource.OpenReadAsync());
 }