How to read application's manifest using bright script?

Is there a way for the app to figure out its name, version etc which is available in the application manifest file?

Thanks.

function NWM_Manifest()
  result = {}
  
  raw = ReadASCIIFile("pkg:/manifest")
  lines = raw.Tokenize(Chr(10))
  for each line in lines
    bits = line.Tokenize("=")
    if bits.Count() > 1
      result.AddReplace(bits[0], bits[1])
    end if
  next
  
  return result
end function

Thank you Chris. Your code works very well.