Do not know how to convert Me.Base to C#
Imports Microsoft.VisualBasic
Public Class ReplaceHTML
Inherits System.IO.Stream
Private Base As System.IO.Stream
Public Sub New(ByVal ResponseStream As System.IO.Stream)
If ResponseStream Is Nothing Then
Throw New ArgumentNullException("ResponseStream")
Me.Base = ResponseStream
End Sub
End Class
full code is here
thanks!
try using
this.Basethistells it to use the current instance of the classEdit:
with your updated question i think it should look more like