Username
String indicating the user name. Cannot be NULL.
Password
String indicating the password. Can be NULL if no password is desired. In this case, all you must specify to enter is the username.
The 0-based index of this user in the list of users maintained by this object.
Note that all users have the same privileges, so when you add a user to this object you are granting access to this user for the media that will use this object.
using Leadtools;
using Leadtools.Multimedia;
using LeadtoolsMultimediaExamples.Fixtures;
public void SetSecurity()
{
RTSPSecurity security = new RTSPSecurity();
security.RealmName = "MyRTSPServer";
security.AuthenticationRequired = RTSPAuthenticationType.Basic;
security.AddUser("TestUser", "TestPassword");
_server.SetSecurity(-1, security);
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document