aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs')
-rw-r--r--Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs42
1 files changed, 21 insertions, 21 deletions
diff --git a/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs b/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs
index 03964fcc7..a95753749 100644
--- a/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs
+++ b/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Msrpc/LsaPolicyHandle.cs
@@ -18,26 +18,26 @@ using SharpCifs.Smb;
namespace SharpCifs.Dcerpc.Msrpc
{
- public class LsaPolicyHandle : Rpc.PolicyHandle
- {
- /// <exception cref="System.IO.IOException"></exception>
- public LsaPolicyHandle(DcerpcHandle handle, string server, int access)
- {
- if (server == null)
- {
- server = "\\\\";
- }
- MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
- handle.Sendrecv(rpc);
- if (rpc.Retval != 0)
- {
- throw new SmbException(rpc.Retval, false);
- }
- }
+ public class LsaPolicyHandle : Rpc.PolicyHandle
+ {
+ /// <exception cref="System.IO.IOException"></exception>
+ public LsaPolicyHandle(DcerpcHandle handle, string server, int access)
+ {
+ if (server == null)
+ {
+ server = "\\\\";
+ }
+ MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
+ handle.Sendrecv(rpc);
+ if (rpc.Retval != 0)
+ {
+ throw new SmbException(rpc.Retval, false);
+ }
+ }
- /// <exception cref="System.IO.IOException"></exception>
- public virtual void Close()
- {
- }
- }
+ /// <exception cref="System.IO.IOException"></exception>
+ public virtual void Close()
+ {
+ }
+ }
}