public void UserState() { var us = OtrApi.otrl_userstate_create(); Assert.AreNotEqual(us, IntPtr.Zero); OtrApi.otrl_userstate_free(us); }
public void Dispose() { var handle = Handle; if (handle == IntPtr.Zero) { return; } OtrApi.otrl_userstate_free(handle); }