Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NtApiDotNet/Ndr/Marshal/NdrUnmarshalBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public T[] ReadConformantArray<T>() where T : struct
{
return ReadConformantCharArray().Cast<char, T>();
}
else if (typeof(T) == typeof(INdrStructure))
else if (typeof(INdrStructure).IsAssignableFrom(typeof(T)))
{
using (var queue = _deferred_reads.Push())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,11 @@ private void BindAuth(Guid interface_id, Version interface_version, Guid transfe
/// </summary>
public RpcAuthenticationLevel AuthenticationLevel => Authenticated ? _transport_security.AuthenticationLevel : RpcAuthenticationLevel.None;

/// <summary>
/// Get the transport authentication context.
/// </summary>
public IClientAuthenticationContext AuthenticationContext => _auth_context;

/// <summary>
/// Get the current Call ID.
/// </summary>
Expand Down