예제 #1
0
        private void EnsureMetadataRead()
        {
            // Check if already read
            if (metadata != null)
            {
                return;
            }

            // Get metadata
            int deviceIdInt = 0;

            metadata = OmApi.OmReaderMetadata(Handle, out deviceIdInt, out sessionId);
            deviceId = (ushort)deviceIdInt;
        }