Connectivity Software User's Guide and Reference
GetStreamPersistor Method (MemoryNameAndPasswordUserManager)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.User Namespace > MemoryNameAndPasswordUserManager Class : GetStreamPersistor Method
Gets a stream persistor that can be used to save and load this object.
Syntax
'Declaration
 
Public Function GetStreamPersistor() As IStreamPersistor
'Usage
 
Dim instance As MemoryNameAndPasswordUserManager
Dim value As IStreamPersistor
 
value = instance.GetStreamPersistor()
public IStreamPersistor GetStreamPersistor()
public:
IStreamPersistor^ GetStreamPersistor(); 

Return Value

A stream persistor for this object.

This method never returns null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also