diff --git a/DumpLib/DumpyTool.cs b/DumpLib/DumpyTool.cs
index 8f5ed20..7cc5886 100644
--- a/DumpLib/DumpyTool.cs
+++ b/DumpLib/DumpyTool.cs
@@ -309,14 +309,14 @@ namespace DumpLib
{
try
{
- var uri = new Uri((string)requestType.GetType().GetMethod(ConfigSettings.SptReflections.MainUrlPropName).Invoke(requestType, null));
+ var uri = new Uri((string)requestType.GetType().GetMethod("get_MainURLFull").Invoke(requestType, null));
var path = (Directory.GetCurrentDirectory() + "\\HTTP_DATA\\").Replace("\\\\", "\\");
var file = uri.LocalPath.Replace("/", ".").Remove(0, 1);
var time = DateTime.Now.ToString(ConfigSettings.DateTimeFormat);
if (Directory.CreateDirectory(path).Exists)
{
- var reqParams = requestType.GetType().GetField(ConfigSettings.SptReflections.ParamFieldName).GetValue(requestType);
+ var reqParams = requestType.GetType().GetField("Params").GetValue(requestType);
if (Directory.CreateDirectory($@"{path}req.{file}").Exists)
{
if (reqParams != null)
diff --git a/DumpLib/Models/SptConfigClass.cs b/DumpLib/Models/SptConfigClass.cs
index 26f5c23..0d87c18 100644
--- a/DumpLib/Models/SptConfigClass.cs
+++ b/DumpLib/Models/SptConfigClass.cs
@@ -18,8 +18,6 @@
public string DateTimeFormat { get; set; }
public bool QuickDumpEnabled { get; set; }
-
- public SptReflections SptReflections { get; set; }
public SptTimings SptTimings { get; set; }
}
@@ -36,22 +34,4 @@
///
public int AllIterationDelayMs { get; set; }
}
-
- public class SptReflections
- {
- ///
- /// Default: "get_MainURLFull" as of 128476 client
- ///
- public string MainUrlPropName { get; set; }
-
- ///
- /// Default: "Params" as of 128476 client
- ///
- public string ParamFieldName { get; set; }
-
- ///
- /// Default: "responseText" as of 128476 client
- ///
- public string RequestFieldName { get; set; }
- }
}
\ No newline at end of file