Skip to content
Open
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/Win32/Rpc/RpcClientBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace NtApiDotNet.Win32.Rpc
public abstract class RpcClientBase : IDisposable
{
#region Private Members
private IRpcClientTransport _transport;
protected IRpcClientTransport _transport;

private RpcEndpoint LookupEndpoint(string protocol_seq, string network_address)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ namespace NtApiDotNet.Win32.Rpc.Transport
public abstract class RpcConnectedClientTransport : IRpcClientTransport
{
#region Protected Members
protected ushort _max_recv_fragment;
protected ushort _max_send_fragment;

/// <summary>
/// Constructor.
Expand Down Expand Up @@ -78,8 +80,6 @@ protected RpcConnectedClientTransport(ushort max_recv_fragment, ushort max_send_
private readonly Dictionary<int, RpcTransportSecurityContext> _security_context;
private RpcTransportSecurityContext _current_security_context;
private int _current_context_id;
private ushort _max_recv_fragment;
private ushort _max_send_fragment;
private int _assoc_group_id;
private int _recv_sequence_no;
private int _send_sequence_no;
Expand Down Expand Up @@ -519,7 +519,7 @@ public RpcTransportSecurityContext CurrentSecurityContext
/// <param name="interface_version">The interface version to bind to.</param>
/// <param name="transfer_syntax_id">The transfer syntax to use.</param>
/// <param name="transfer_syntax_version">The transfer syntax version to use.</param>
public void Bind(Guid interface_id, Version interface_version, Guid transfer_syntax_id, Version transfer_syntax_version)
public virtual void Bind(Guid interface_id, Version interface_version, Guid transfer_syntax_id, Version transfer_syntax_version)
{
if (transfer_syntax_id != Ndr.NdrNativeUtils.DCE_TransferSyntax || transfer_syntax_version != new Version(2, 0))
{
Expand Down