LDIF Parser (C#)

后端 未结 2 812
说谎
说谎 2020-12-19 15:06

I am looking for an LDIF parser for C#. I am trying to parse an LDIF file so that I can check objects don\'t exist before adding them. Adding them when the already exist usi

2条回答
  •  执笔经年
    2020-12-19 15:47

    I would parse it myself.

    If you look at the LDIF RFC for the EBNF, you'll see that it's not a very complex grammar.

    I've parsed a large amount of LDIF before using Regexes reliably. Though your mileage may vary.

提交回复
热议问题