아래주소를 변경하고 빌드를 다시 했습니다....
내부에서 쓰다가 외부로 급히 붙이니 실수가 많네요... !
.. 죄송합니다.... 급히 올리느라 변경할 부분을 적용하지 못하고 그냥 올렸네요....
아래와 같이 정의된 내용중 filePath부분을 변경하지를 못했네요....!
다시한번 좀 부탁드립니다... (죄송)!
//*** 정리해서 말씀드리면...
http://......../ 로 접속시 http://.........DLL의 DLL을
Client로 DownLoad하고자 하는 것이 제가 문의하고자 하는 내용입니다!
DownLoad할 위치도 지정이 가능한지도 ,, 가능하다면 설정방법도 함께 부탁드립니다!
* 로 접속시 나오는 Error Message 를 보고 해당위치
C:\Documents and Settings\Administrator\Local Settings\Temp\tmp4D.tmp 파일은 존재 하든데.... <검토하시는데 참고가 될까해서적습니다>
//******************************************************************************************************************
static QCM1001()
{
try
{
// string filePath = AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;
string filePath = "http://........DLL";
if ( filePath.Substring(0,4) == "http" )
{
string tempFilePath = Path.GetTempFileName();
WebClient webClient = new WebClient();
webClient.Credentials = CredentialCache.DefaultCredentials;
webClient.DownloadFile(filePath, tempFilePath);
System.Runtime.Remoting.RemotingConfiguration.Configure(tempFilePath);
}
else
{
System.Runtime.Remoting.RemotingConfiguration.Configure(filePath);
}
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
//******************************************************************************************************************
위의 내용도 자료를 찾다가 ... 붙여놓은거라 확실히 파악이 된 상태는 아니라서 하나하나 접근해보고 있습니다... ^&^
.... 그럼 수고하세요! ^^;