IInternalConfigHost.OpenStreamForRead Method (String, Boolean)

 

Opens a Stream object to read a configuration file.

Namespace:   System.Configuration.Internal
Assembly:  System.Configuration (in System.Configuration.dll)

Stream OpenStreamForRead(
	string streamName,
	bool assertPermissions
)

Parameters

streamName
Type: System.String

A string representing the name of the Stream object performing I/O tasks on the configuration file.

assertPermissions
Type: System.Boolean

true to assert permissions; otherwise, false.

Return Value

Type: System.IO.Stream

Returns the Stream object specified by streamName.

.NET Framework
Available since 2.0
Return to top
Show: