You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
569 B
C#
18 lines
569 B
C#
namespace OPC.Common
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[ComVisible(true), Guid("7AA83A02-6C77-11d3-84F9-00008630A38B"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
internal interface IOPCSecurityPrivate
|
|
{
|
|
[PreserveSig]
|
|
int IsAvailablePriv([MarshalAs(UnmanagedType.Bool)] out bool pbAvailable);
|
|
[PreserveSig]
|
|
int Logon([In, MarshalAs(UnmanagedType.LPWStr)] string szUserID, [In, MarshalAs(UnmanagedType.LPWStr)] string szPassword);
|
|
[PreserveSig]
|
|
int Logoff();
|
|
}
|
|
}
|
|
|