Exemple #1
0
 public void Set(SessionDetailsGetSessionAttributeCountOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = SessionDetails.SessiondetailsGetsessionattributecountApiLatest;
     }
 }
        /// <summary>
        /// Get the number of attributes associated with this session
        /// </summary>
        /// <param name="options">the Options associated with retrieving the attribute count</param>
        /// <returns>
        /// number of attributes on the session or 0 if there is an error
        /// </returns>
        public uint GetSessionAttributeCount(SessionDetailsGetSessionAttributeCountOptions options)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <SessionDetailsGetSessionAttributeCountOptionsInternal, SessionDetailsGetSessionAttributeCountOptions>(ref optionsAddress, options);

            var funcResult = EOS_SessionDetails_GetSessionAttributeCount(InnerHandle, optionsAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            return(funcResult);
        }