diff --git a/SMBLibrary/Client/SMB1FileStore.cs b/SMBLibrary/Client/SMB1FileStore.cs
index 386748c..b2bf869 100644
--- a/SMBLibrary/Client/SMB1FileStore.cs
+++ b/SMBLibrary/Client/SMB1FileStore.cs
@@ -33,7 +33,7 @@ namespace SMBLibrary.Client
request.ShareAccess = shareAccess;
request.CreateDisposition = createDisposition;
request.CreateOptions = createOptions;
- request.ImpersonationLevel = ImpersonationLevel.SEC_IMPERSONATE;
+ request.ImpersonationLevel = ImpersonationLevel.Impersonation;
TrySendMessage(request);
SMB1Message reply = m_client.WaitForMessage(CommandName.SMB_COM_NT_CREATE_ANDX);
diff --git a/SMBLibrary/NTFileStore/Enums/SecurityInformation/ImpersonationLevel.cs b/SMBLibrary/NTFileStore/Enums/SecurityInformation/ImpersonationLevel.cs
new file mode 100644
index 0000000..ab3ad88
--- /dev/null
+++ b/SMBLibrary/NTFileStore/Enums/SecurityInformation/ImpersonationLevel.cs
@@ -0,0 +1,15 @@
+
+namespace SMBLibrary
+{
+ ///
+ /// https://msdn.microsoft.com/en-us/library/windows/desktop/aa379572(v=vs.85).aspx
+ /// https://msdn.microsoft.com/en-us/library/windows/hardware/ff556631(v=vs.85).aspx
+ ///
+ public enum ImpersonationLevel : uint
+ {
+ Anonymous = 0x00000000, // SECURITY_ANONYMOUS
+ Identification = 0x00000001, // SECURITY_IDENTIFICATION
+ Impersonation = 0x00000002, // SECURITY_IMPERSONATION
+ Delegation = 0x00000003, // SECURITY_DELEGATION (This impersonation level is supported starting with Windows 2000)
+ }
+}
diff --git a/SMBLibrary/SMB1/Enums/NTCreate/ImpersonationLevel.cs b/SMBLibrary/SMB1/Enums/NTCreate/ImpersonationLevel.cs
deleted file mode 100644
index d1b4663..0000000
--- a/SMBLibrary/SMB1/Enums/NTCreate/ImpersonationLevel.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-
-namespace SMBLibrary.SMB1
-{
- public enum ImpersonationLevel : uint
- {
- SEC_ANONYMOUS = 0x00,
- SEC_IDENTIFY = 0x01,
- SEC_IMPERSONATE = 0x02,
- SECURITY_DELEGATION = 0x03, // SMB 1.0 addition
- }
-}
diff --git a/SMBLibrary/SMB2/Enums/Create/ImpersonationLevel.cs b/SMBLibrary/SMB2/Enums/Create/ImpersonationLevel.cs
deleted file mode 100644
index 553448c..0000000
--- a/SMBLibrary/SMB2/Enums/Create/ImpersonationLevel.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace SMBLibrary.SMB2
-{
- public enum ImpersonationLevel : uint
- {
- Anonymous = 0x00000000,
- Identification = 0x00000001,
- Impersonation = 0x00000002,
- Delegate = 0x00000003,
- }
-}
diff --git a/SMBLibrary/SMBLibrary.csproj b/SMBLibrary/SMBLibrary.csproj
index 62b57ec..a73a984 100644
--- a/SMBLibrary/SMBLibrary.csproj
+++ b/SMBLibrary/SMBLibrary.csproj
@@ -121,6 +121,7 @@
+
@@ -389,7 +390,6 @@
-
@@ -551,7 +551,6 @@
-