From b18d7d3eca3bc80d7e61fef8c152a6cb1f5ecdba Mon Sep 17 00:00:00 2001 From: David Hall Date: Thu, 22 Sep 2022 15:28:13 -0600 Subject: [PATCH] This is prerelease (ignore) --- Net/DistributedRoutingTable.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Net/DistributedRoutingTable.cs b/Net/DistributedRoutingTable.cs index ebf33973..48853b61 100644 --- a/Net/DistributedRoutingTable.cs +++ b/Net/DistributedRoutingTable.cs @@ -12,6 +12,8 @@ using static Vanara.PInvoke.Kernel32; namespace Vanara.Net; +#if RELEASE + public class DistributedRoutingTable { private SafeHDRT hDrt; @@ -455,6 +457,8 @@ public abstract class DrtSecurityProvider } } + static HRESULT Execute(Action action) { try { action(); return HRESULT.S_OK; } catch (Exception ex) { return ex.HResult; } } + HRESULT InternalAttach(IntPtr pvContext) => HRESULT.S_OK; HRESULT InternalDecryptData(IntPtr pvContext, in DRT_DATA pKeyToken, IntPtr pvKeyContext, uint dwBuffers, DRT_DATA[] pData) => throw new NotImplementedException(); void InternalDetach(IntPtr pvContext) { }