diff --git a/NativeMethods.cs b/NativeMethods.cs
index 7f1b2fa..6351187 100644
--- a/NativeMethods.cs
+++ b/NativeMethods.cs
@@ -86,7 +86,6 @@ namespace NSspi
SetLastError = true
)]
public static extern SecurityStatus FreeContextBuffer( IntPtr buffer );
-
/*
@@ -99,7 +98,7 @@ namespace NSspi
///
/// The overload of the QueryCredentialsAttribute method that is used for querying the name attribute.
- /// In this call, it takes a void* to a structure that contains a wide char* pointer.
+ /// In this call, it takes a void* to a structure that contains a wide char pointer.
///
///
///
diff --git a/Program.cs b/Program.cs
index ce677df..f47f04b 100644
--- a/Program.cs
+++ b/Program.cs
@@ -15,7 +15,7 @@ namespace NSspi
{
cred = new Credential( SecurityPackage.Negotiate, CredentialType.Client );
- string name = cred.GetName();
+ string name = cred.Name;
Console.Out.WriteLine( name );
Console.Out.Flush();
}