<html><head><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><linkrel="shortcut icon"href="../icons/favicon.ico"/><linkrel="stylesheet"type="text/css"href="../styles/branding.css"/><linkrel="stylesheet"type="text/css"href="../styles/branding-en-US.css"/><scripttype="text/javascript"src="../scripts/branding.js"></script><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>mp_base Class</title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="mp_base class"/><metaname="System.Keywords"content="Math.Gmp.Native.mp_base class"/><metaname="System.Keywords"content="mp_base class, about mp_base class"/><metaname="Microsoft.Help.F1"content="Math.Gmp.Native.mp_base"/><metaname="Microsoft.Help.Id"content="T:Math.Gmp.Native.mp_base"/><metaname="Description"content="Provides common functionality to , , and ."/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="Math.Gmp.Native"/><metaname="file"content="8f3c572b-8133-bccc-b838-9d22e3467898"/><metaname="guid"content="8f3c572b-8133-bccc-b838-9d22e3467898"/><linkrel="stylesheet"type="text/css"href="../styles/branding-Website.css"/><scripttype="text/javascript"src="../scripts/jquery-1.11.0.min.js"></script><scripttype="text/javascript"src="../scripts/branding-Website.js"></script><scripttype="text/javascript"src="../scripts/clipboard.min.js"></script></head><bodyonload="OnLoad('cs')"><inputtype="hidden"id="userDataCache"class="userDataStyle"/><divclass="pageHeader"id="PageHeader">GMP Native Interface for .NET<formid="SearchForm"method="get"action="#"onsubmit="javascript:TransferToSearchPage(); return false;"><inputid="SearchTextBox"type="text"maxlength="200"/><buttonid="SearchButton"type="submit"></button></form></div><divclass="pageBody"><divclass="leftNav"id="leftNav"><divid="tocNav"><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm"title="GMP Native Interface for .NET"tocid="roottoc">GMP Native Interface for .NET</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm"title="Math.Gmp.Native"tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><divclass="toclevel1 current"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="8f3c572b-8133-bccc-b838-9d22e3467898.htm"title="mp_base Class"tocid="8f3c572b-8133-bccc-b838-9d22e3467898">mp_base Class</a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="3e385e89-d6d3-27df-ec51-6580f6bea08b.htm"title="mp_base Constructor "tocid="3e385e89-d6d3-27df-ec51-6580f6bea08b">mp_base Constructor </a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="c65a20b0-ddd8-db62-1d34-19bf1a71ce8c.htm"title="mp_base Properties"tocid="c65a20b0-ddd8-db62-1d34-19bf1a71ce8c">mp_base Properties</a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="dc319ce0-0560-799e-9187-8445d98b802b.htm"title="mp_base Methods"tocid="dc319ce0-0560-799e-9187-8445d98b802b">mp_base Methods</a></div></div><divid="tocResizableEW"onmousedown="OnMouseDown(event);"></div><divid="TocResize"class="tocResize"><imgid="ResizeImageIncrease"src="../icons/TocOpen.gif"onclick="OnIncreaseToc()"alt="Click or drag to resize"title="Click or drag to resize"/><imgid="ResizeImageReset"src="../icons/TocClose.gif"style="display:none"onclick="OnResetToc()"alt="Click or drag to resize"title="Click or drag to resize"/></div></div><divclass="topicContent"id="TopicContent"><tableclass="titleTable"><tr><tdclass="titleColu
Provides common functionality to <ahref="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">mpz_t</a>, <ahref="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">mpf_t</a>, and <ahref="f7e5846d-548d-3bf3-74ac-219fde42a041.htm">gmp_randstate_t</a>.
Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)<divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID2RB')"onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)"tabindex="0"><imgid="ID2RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Syntax</span></div><divid="ID2RBSection"class="collapsibleSection"><divclass="codeSnippetContainer"><divclass="codeSnippetContainerTabs"><divid="ID1EDCA_tab1"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','cs','1','4');return false;">C#</a></div><divid="ID1EDCA_tab2"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','vb','2','4');return false;">VB</a></div><divid="ID1EDCA_tab3"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','cpp','3','4');return false;">C++</a></div><divid="ID1EDCA_tab4"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID1EDCA','fs','4','4');return false;">F#</a></div></div><divclass="codeSnippetContainerCodeContainer"><divclass="codeSnippetToolBar"><divclass="codeSnippetToolBarText"><aid="ID1EDCA_copyCode"href="#"class="copyCodeSnippet"onclick="javascript:CopyToClipboard('ID1EDCA');return false;"title="Copy">Copy</a></div></div><divid="ID1EDCA_code_Div1"class="codeSnippetContainerCode"style="display: block"><prexml:space="preserve"><spanclass="keyword">public</span><spanclass="keyword">class</span><spanclass="identifier">mp_base</span></pre></div><divid="ID1EDCA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">Public</span><spanclass="keyword">Class</span><spanclass="identifier">mp_base</span></pre></div><divid="ID1EDCA_code_Div3"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">public</span><spanclass="keyword">ref class</span><spanclass="identifier">mp_base</span></pre></div><divid="ID1EDCA_code_Div4"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="keyword">type</span><spanclass="identifier">mp_base</span> = <spanclass="keyword">class</span><spanclass="keyword">end</span></pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID1EDCA");</script></div><p>The <spanclass="selflink">mp_base</span> type exposes the following members.</p><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID3RB')"onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)"tabindex="0"><imgid="ID3RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Constructors</span></div><divid="ID3RBSection"class="collapsibleSection"><tableclass="members"id="constructorList"><tr><thclass="iconColumn">
</th><th>Name</th><th>Description</th></tr><trdata="public;declared;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="3e385e89-d6d3-27df-ec51-6580f6bea08b.htm">mp_base</a></td><td><divclass="summary">Initializes a new instance of the <spanclass="selflink">mp_base</span> class</div></td></tr></table><ahref="#PageHeader">Top</a></div><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID4RB')"onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)"tabindex="0"><imgid="ID4RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Properties</span></div><divid="ID4RBSection"class="collapsibleSection"><tableclass="members"id="propertyList"><tr><thclass="iconColumn">
</th><th>Name</th><th>Description</th></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/bsc2ak47"target="_blank">Equals</a></td><td><divclass="summary">Determines whether the specified <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a> is equal to the current <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="protected;inherited;notNetfw;"><td><imgsrc="../icons/protmethod.gif"alt="Protected method"title="Protected method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/4k87zsw7"target="_blank">Finalize</a></td><td><divclass="summary">Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/zdee4b3y"target="_blank">GetHashCode</a></td><td><divclass="summary">Serves as a hash function for a particular type. </div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/dfwy45w9"target="_blank">GetType</a></td><td><divclass="summary">Gets the type of the current instance.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="protected;inherited;notNetfw;"><td><imgsrc="../icons/protmethod.gif"alt="Protected method"title="Protected method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/57ctke0a"target="_blank">MemberwiseClone</a></td><td><divclass="summary">Creates a shallow copy of the current <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/7bxwbwt2"target="_blank">ToString</a></td><td><divclass="summary">Returns a string that represents the current object.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr></table><ahref="#PageHeader">Top</a></div><divclass="collapsibleAreaRegion"id="seeAlsoSection"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID6RB')"onkeypress="SectionExpandCollapse_CheckKey('ID6RB', event)"tabindex="0"><imgid="ID6RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>See Also</span></div><divid="ID6RBSection"class="collapsibleSection"><h4class="subHeading">Reference</h4><divclass="seeAlsoStyle"><ahref="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><divid="pageFooter"class="pageFooter"></div></body></html>