code: def get_sdk_version(self):
          
          name = 'VCVarsQueryRegistry.bat'
          path = os.path.join(self.tool_dir, name)
          batch = read_file(path)
          if not batch:
              raise RuntimeError(_('failed to find the SDK version'))
          regex = r'(?<=\\Microsoft SDKs\\Windows\\).+?(?=")'
          try:
              version = re.search(regex, batch).group()
          except AttributeError:
              return ''
          else:
              logging.debug(_('SDK version: %s'), version)
              return version
docs: Get the version of Windows SDK
          from VCVarsQueryRegistry.bat.