コード例 #1
0
 /// <summary>
 /// Returns the Interop Version Description.
 /// </summary>
 /// <returns>the Interop Version Description.</returns>
 private string GetInteropVersionDescription()
 {
     if (!base.directory.ContainsTag(ExifInteropDirectory.TAG_INTEROP_VERSION))
     {
         return(null);
     }
     int[] ints =
         base.directory.GetIntArray(ExifInteropDirectory.TAG_INTEROP_VERSION);
     return(ExifDescriptor.ConvertBytesToVersionString(ints));
 }
コード例 #2
0
        /// <summary>
        /// Returns auto firmware version Description.
        /// </summary>
        /// <returns>the auto firmware version Description.</returns>
        private string GetAutoFirmwareVersionDescription()
        {
            if (!base.directory.ContainsTag(NikonType2Directory.TAG_NIKON_TYPE2_FIRMWARE_VERSION))
            {
                return(null);
            }

            int[] ints = base.directory.GetIntArray(NikonType2Directory.TAG_NIKON_TYPE2_FIRMWARE_VERSION);
            return(ExifDescriptor.ConvertBytesToVersionString(ints));
        }