Correct parameter name in documentation

This commit is contained in:
Tal Aloni 2021-11-19 12:43:09 +02:00
parent 557936fbab
commit 083128889a
3 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ namespace SMBLibrary.NetBios
return EncodeName(netBiosName, scopeID);
}
/// <param name="name">NetBIOS name</param>
/// <param name="netBiosName">NetBIOS name</param>
/// <param name="scopeID">dot-separated labels, formatted per DNS naming rules</param>
public static byte[] EncodeName(string netBiosName, string scopeID)
{
@ -75,7 +75,7 @@ namespace SMBLibrary.NetBios
// into two nibbles and then adding the value of 'A' (0x41).
// Thus, the '&' character (0x26) would be encoded as "CG".
// NetBIOS names are usually padded with spaces before being encoded.
/// <param name="name">NetBIOS name</param>
/// <param name="netBiosName">NetBIOS name</param>
/// <param name="scopeID">dot-separated labels, formatted per DNS naming rules</param>
public static string FirstLevelEncoding(string netBiosName, string scopeID)
{

View file

@ -135,7 +135,7 @@ namespace SMBLibrary.SMB2
return GetCommandChainBytes(commands, null, SMB2Dialect.SMB2xx);
}
/// <param name="sessionKey">
/// <param name="signingKey">
/// Message will be signed using this key if (not null and) SMB2_FLAGS_SIGNED is set.
/// </param>
/// <param name="dialect">

View file

@ -39,7 +39,7 @@ namespace SMBLibrary.Server
return result;
}
/// <param name="relativePath">e.g. \Shared</param>
/// <param name="shareName">e.g. \Shared</param>
public FileSystemShare GetShareFromName(string shareName)
{
int index = IndexOf(shareName, StringComparison.OrdinalIgnoreCase);