Move to next line in StreamReader
===

Is it possible inside a loop to either move to next line or temporarily read next line?  I have not had much luck finding any useful data on how one would do this, my guess is somehow find the line number (index) of what line you are currently on and then read +1 from where you are.


    Using TestFile As New IO.StreamReader(My.Settings.cfgPath & "tempRPT.txt", System.Text.Encoding.Default, False, 4096)
            Do Until TestFile.EndOfStream
                ScriptLine = TestFile.ReadLine
                ScriptLine = LCase(ScriptLine)
                If InStr(ScriptLine, "update: [b") Then
                    Dim m As Match = Regex.Match(ScriptLine, "\(([^)]*)\)")
                    builder.AppendLine(m.Value)

                    'This is where it would move to next line temporarily to read from it
                    If InStr(ScriptLine, "hive: write:") > 0 Or InStr(ScriptLine, "update: [b") > 0 Then 'And InStr(ScriptLine, "setmarkerposlocal.sqf") < 1 Then
                       builder.AppendLine(ScriptLine)
                    
                    End If
                End If
                
            Loop
        End Using