troubleshooting Question

How to parse txt file for specific information in C#

Avatar of Skale
Skale asked on
C#
4 Comments1 Solution81 ViewsLast Modified:
I have a output file like below and i'd like to get some information from it.

How is it possible to get information are there any expert can help me to parse it?

I'd like to run one function and get some information like; file version, version number, version description, version build like single output.

3.0, 20180100, " ", 76

!file.version=3.0! Removing this line will make the file unreadable

!**********************************************************************
! Program Version Information
!**********************************************************************
version.number = 20180100
version.desc   = ''
version.build  = 76

!**********************************************************************
!  Some Other Blocks
!**********************************************************************
some_texts_in_here
.
.
.
ASKER CERTIFIED SOLUTION
ste5an
Senior Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros