public static void EncryptWebConfig(this ProtoServer protoServer, string file) { var proto = new ProtoEncryptWebConfigTask(new DotNetPath(), file); protoServer.RegisterProtoTask(proto); }