/// <summary> /// Retrieves the tox instance that this toxav instance belongs to. /// </summary> /// <returns></returns> public IntPtr GetTox() { if (disposed) { throw new ObjectDisposedException(GetType().FullName); } return(ToxAvFunctions.GetTox(toxav)); }