public LsaServer(RpceServerTransport rpceServer)
 {
     contextManager  = new LsaContextManager();
     rpceLayerServer = rpceServer;
     rpceLayerServer.RegisterInterface(
         LsaUtility.LSA_RPC_INTERFACE_UUID,
         LsaUtility.LSA_RPC_INTERFACE_MAJOR_VERSION,
         LsaUtility.LSA_RPC_INTERFACE_MINOR_VERSION);
 }
 public LsaServer(RpceSecurityContextCreatingEventHandler rpceServerSecurityContextCreator)
 {
     contextManager  = new LsaContextManager();
     rpceLayerServer = new RpceServerTransport();
     rpceLayerServer.RegisterInterface(
         LsaUtility.LSA_RPC_INTERFACE_UUID,
         LsaUtility.LSA_RPC_INTERFACE_MAJOR_VERSION,
         LsaUtility.LSA_RPC_INTERFACE_MINOR_VERSION);
     rpceLayerServer.SetSecurityContextCreator(rpceServerSecurityContextCreator);
 }